From a2e3c89cbe16ff2cdcaa641bc5cb5ba002cabcbb Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 6 Apr 2024 23:48:14 -0700 Subject: [PATCH] Remove useless condition --- layouts/partials/paige/links.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 }}