diff --git a/layouts/partials/paige/links.html b/layouts/partials/paige/links.html index 59115fd7..e75cb220 100644 --- a/layouts/partials/paige/links.html +++ b/layouts/partials/paige/links.html @@ -43,8 +43,6 @@ {{ partial "paige/link.html" (dict "href" "css/paige/katex/katex.min.css") }} {{ end }} -{{ if .AlternativeOutputFormats }} - {{ range .AlternativeOutputFormats }} - {{ printf `` (.Permalink | safeURL) .Rel .MediaType | safeHTML }} - {{ end }} +{{ range $page.AlternativeOutputFormats }} + {{ printf `` (.Permalink | safeURL) .Rel .MediaType | safeHTML }} {{ end }}