Skip to content

Omit empty RSS links from <head>

Jeremy Soller requested to merge dsprenkels:empty-rss-href into master

Created by: dsprenkels

Currently the website show an RSS <link> tag on every page, even if the template variable {{ .RSSLink }} is not set. This results in tags like pointing to "" (<link href="" ...>), which is an HTML document.

This PR changes the websites behaviour such that no <link> tags are generated when the {{ .RSSLink }} variable is not set.

Merge request reports