Remove printf from feed links

This commit is contained in:
Will Faught
2025-02-14 15:58:43 -08:00
parent dff0d385f0
commit bfffd2b4d6
2 changed files with 3 additions and 3 deletions

View File

@@ -70,7 +70,7 @@
{{ range $t := $page.Translations }}
{{ range .OutputFormats }}
{{ printf `<link href="%s" hreflang="%s" rel="%s" type="%s"/>` .Permalink $t.Lang .Rel .MediaType | safeHTML }}
<link href="{{ .Permalink }}" hreflang="{{ $t.Language.LanguageCode }}" rel="{{ .Rel }}" type="{{ .MediaType }}"/>
{{ end }}
{{ end }}