Fix breaking changes due to hugo 0.82

This commit is contained in:
Ceda EI 2021-06-03 12:08:54 +05:30
parent b91a57f28b
commit 0754b07132
1 changed files with 7 additions and 7 deletions

View File

@ -36,7 +36,7 @@
{{ end }}
{{ range .AlternativeOutputFormats }}
{{ printf `<link rel="%s" type="%s+%s" href="%s" title="%s" />` .Rel .MediaType.Type .MediaType.Suffix .Permalink $.Site.Title | safeHTML }}
{{ printf `<link rel="%s" type="%s+%s" href="%s" title="%s" />` .Rel .MediaType.Type .MediaType.FirstSuffix.Suffix .Permalink $.Site.Title | safeHTML }}
{{ end }}
{{ block "links" . }} {{ end }}
{{ partial "seo-schema.html" .}}