Fix type value for link tags in head
This commit is contained in:
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user