Add RSS link to header

This commit is contained in:
Alexandre Neto 2025-01-02 11:19:32 +00:00
parent a959cb174d
commit f612a95960

View file

@ -18,3 +18,7 @@
<link rel="icon" type="image/png" href="{{ $favicon }}" />
{{end}}
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
{{ end }}