From 268997acf2df14b855187446a313905cd45089d6 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Thu, 6 Feb 2025 22:48:18 -0800 Subject: [PATCH] Remove uses of safeURL --- layouts/partials/paige/links.html | 18 +++++++++--------- layouts/partials/paige/list-item.html | 4 ++-- layouts/partials/paige/page-footer.html | 4 ++-- layouts/partials/paige/page-header.html | 4 ++-- layouts/partials/paige/site-header.html | 6 +++--- layouts/partials/paige/tag-a.html | 2 +- layouts/partials/paige/tag-iframe.html | 2 +- layouts/partials/paige/tag-link.html | 2 +- layouts/partials/paige/tag-script.html | 2 +- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/layouts/partials/paige/links.html b/layouts/partials/paige/links.html index 540d63f1..6ad0a148 100644 --- a/layouts/partials/paige/links.html +++ b/layouts/partials/paige/links.html @@ -1,35 +1,35 @@ {{ $page := . }} {{ if fileExists "static/apple-touch-icon.png" }} - + {{ end }} {{ if fileExists "static/favicon.ico" }} - + {{ end }} {{ if fileExists "static/favicon.png" }} - + {{ end }} {{ if fileExists "static/favicon.svg" }} - + {{ end }} {{ if fileExists "static/favicon-16x16.png" }} - + {{ end }} {{ if fileExists "static/favicon-32x32.png" }} - + {{ end }} {{ if fileExists "static/safari-pinned-tab.svg" }} - + {{ end }} {{ if fileExists "assets/site.webmanifest" }} - + {{ end }} {{ $color := $page.Param "paige.color" | default "#0d6efd" }} @@ -45,5 +45,5 @@ {{ end }} {{ range $page.AlternativeOutputFormats }} - {{ printf `` (.Permalink | safeURL) .Rel .MediaType | safeHTML }} + {{ printf `` .Permalink .Rel .MediaType | safeHTML }} {{ end }} diff --git a/layouts/partials/paige/list-item.html b/layouts/partials/paige/list-item.html index 869997e3..6bbae048 100644 --- a/layouts/partials/paige/list-item.html +++ b/layouts/partials/paige/list-item.html @@ -68,11 +68,11 @@ {{- if $normal -}} {{- if gt $i 0 }} · {{ end -}} - {{ .LinkTitle }} + {{ .LinkTitle }} {{- else -}} {{- if gt $i 0 }} {{ end -}} - {{ .LinkTitle }} + {{ .LinkTitle }} {{- end -}} {{- end }}

diff --git a/layouts/partials/paige/page-footer.html b/layouts/partials/paige/page-footer.html index 753387b9..1f65108b 100644 --- a/layouts/partials/paige/page-footer.html +++ b/layouts/partials/paige/page-footer.html @@ -27,13 +27,13 @@
{{ with $edit }} {{ end }} {{ with $history }} {{ end }}
diff --git a/layouts/partials/paige/page-header.html b/layouts/partials/paige/page-header.html index dc84f970..d049d5b2 100644 --- a/layouts/partials/paige/page-header.html +++ b/layouts/partials/paige/page-header.html @@ -50,11 +50,11 @@ {{- if $normal -}} {{- if gt $i 0 }} · {{ end -}} - {{ .LinkTitle }} + {{ .LinkTitle }} {{- else -}} {{- if gt $i 0 }} {{ end -}} - {{ .LinkTitle }} + {{ .LinkTitle }} {{- end -}} {{- end }}

diff --git a/layouts/partials/paige/site-header.html b/layouts/partials/paige/site-header.html index 85bab927..aeb3c785 100644 --- a/layouts/partials/paige/site-header.html +++ b/layouts/partials/paige/site-header.html @@ -60,7 +60,7 @@ {{ $active := or $home $menu $section }}