Fix xml+rss link header (#393)

This commit is contained in:
Jannik Arndt 2021-05-01 17:55:26 +02:00 committed by GitHub
parent a86abf5994
commit 167ca42ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@
{{- /* RSS */}} {{- /* RSS */}}
{{ range .AlternativeOutputFormats -}} {{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}"> <link rel="{{ .Rel }}" type="{{ .MediaType.Type | html }}" href="{{ .Permalink | safeURL }}">
{{ end -}} {{ end -}}
{{- range .AllTranslations -}} {{- range .AllTranslations -}}
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}" /> <link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}" />