Remove useless condition

This commit is contained in:
Will Faught
2024-04-06 23:48:14 -07:00
parent c643ab3ffb
commit a2e3c89cbe

View File

@@ -43,8 +43,6 @@
{{ partial "paige/link.html" (dict "href" "css/paige/katex/katex.min.css") }}
{{ end }}
{{ if .AlternativeOutputFormats }}
{{ range .AlternativeOutputFormats }}
{{ printf `<link href="%s" rel="%s" type="%s">` (.Permalink | safeURL) .Rel .MediaType | safeHTML }}
{{ end }}
{{ range $page.AlternativeOutputFormats }}
{{ printf `<link href="%s" rel="%s" type="%s">` (.Permalink | safeURL) .Rel .MediaType | safeHTML }}
{{ end }}