Skip to content

Commit

Permalink
Fix xml+rss link header (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikArndt authored May 1, 2021
1 parent a86abf5 commit 167ca42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@

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

0 comments on commit 167ca42

Please sign in to comment.