3 ms·
If you use Hugo, here's how to add an RSS link to your site. Just add the following to your <head> area in your template(s): {{ with .OutputFormats.Get "rs
by bovermyer 7y ago
If you use Hugo, here's how to add an RSS link to your site. Just add the following to your <head> area in your template(s):
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
Related link: https://gohugo.io/templates/rss/#readout https://gohugo.io/templates/rss/#readout