Fix type value for link tags in head

master
Will Faught 2 years ago
parent e1a3594a20
commit 14497db6cd

@ -40,8 +40,7 @@
{{ end }}
{{ if .AlternativeOutputFormats }}
{{ $title := partial "paige/title.html" $page }}
{{ range .AlternativeOutputFormats }}
<link href="{{ .Permalink | safeURL }}" rel="{{ .Rel }}" title="{{ $title }}" type="{{ .MediaType.Type }}">
{{ printf `<link href="%s" rel="%s" type="%s">` (.Permalink | safeURL) .Rel .MediaType | safeHTML }}
{{ end }}
{{ end }}

Loading…
Cancel
Save