Simplification du link RSS.

This commit is contained in:
2026-03-11 00:20:49 +01:00
parent ca1132c4e0
commit 000dbf9c7a
+1 -1
View File
@@ -1,5 +1,5 @@
<meta charset="utf-8">
{{ with .OutputFormats.Get "rss" }}
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
<link rel="{{ .Rel }}" {{ printf "type=%q" .MediaType.Type | safeHTMLAttr }} href="{{ .Permalink }}" title="{{ site.Title }}" />
{{ end }}
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}