Code from Minimo theme: https://github.com/MunifTanjim/minimo/blob/master/layouts/partials/data/title Thanks @MunifTanjim.
.RSSLink uses the RSS URL for the given context: the site feed for the home page, the tag feed for tag pages, no URL given for single pages.
How to preserve HTML comments in Go templates: https://discourse.gohugo.io/t/how-to-add-comments-in-a-template/75/8