Skip to content

Add RSS feed to head of each page

Add a partial as documented in the hugo-book theme to inject the RSS URL into the head of report pages; to avoid a duplicate feed link it first checks whether the current page is not already the homepage (which already has a feed link). Then it looks up the home page and extracts its RSS link, to avoid building the link manually.

Merge request reports