Add missing uses of safeURL
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<link href="{{ relLangURL `apple-touch-icon.png` }}" rel="apple-touch-icon" sizes="180x180">
|
||||
<link href="{{ relLangURL `favicon-16x16.png` }}" rel="icon" sizes="16x16" type="image/png">
|
||||
<link href="{{ relLangURL `favicon-32x32.png` }}" rel="icon" sizes="32x32" type="image/png">
|
||||
<link href="{{ relLangURL `apple-touch-icon.png` | safeURL }}" rel="apple-touch-icon" sizes="180x180">
|
||||
<link href="{{ relLangURL `favicon-16x16.png` | safeURL }}" rel="icon" sizes="16x16" type="image/png">
|
||||
<link href="{{ relLangURL `favicon-32x32.png` | safeURL }}" rel="icon" sizes="32x32" type="image/png">
|
||||
{{ if ne (relLangURL "favicon.ico") "/favicon.ico" }}
|
||||
<link href="{{ relLangURL `favicon.ico` }}" rel="shortcut icon">
|
||||
<link href="{{ relLangURL `favicon.ico` | safeURL }}" rel="shortcut icon">
|
||||
{{ end }}
|
||||
<link href="{{ relLangURL `favicon.png` }}" rel="icon" type="image/png">
|
||||
<link href="{{ relLangURL `favicon.svg` }}" rel="icon" type="image/svg+xml">
|
||||
<link color="{{ .Site.Params.paige.color | default `#0d6efd` }}" href="{{ relLangURL `safari-pinned-tab.svg` }}" rel="mask-icon">
|
||||
<link href="{{ relLangURL `site.webmanifest` }}" rel="manifest">
|
||||
<link href="{{ relLangURL `favicon.png` | safeURL }}" rel="icon" type="image/png">
|
||||
<link href="{{ relLangURL `favicon.svg` | safeURL }}" rel="icon" type="image/svg+xml">
|
||||
<link color="{{ .Site.Params.paige.color | default `#0d6efd` }}" href="{{ relLangURL `safari-pinned-tab.svg` | safeURL }}" rel="mask-icon">
|
||||
<link href="{{ relLangURL `site.webmanifest` | safeURL }}" rel="manifest">
|
||||
{{ partial "paige/link.html" (dict
|
||||
"href" (.Site.Params.paige.bootstrap.icons.link_href | default "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css")
|
||||
"integrity" .Site.Params.paige.bootstrap.icons.link_integrity
|
||||
@@ -28,6 +28,6 @@
|
||||
{{ if .AlternativeOutputFormats }}
|
||||
{{ $title := partial "paige/func-title.html" . }}
|
||||
{{ range .AlternativeOutputFormats }}
|
||||
<link href="{{ .Permalink }}" rel="{{ .Rel }}" title="{{ $title }}" type="{{ .MediaType.Type }}">
|
||||
<link href="{{ .Permalink | safeURL }}" rel="{{ .Rel }}" title="{{ $title }}" type="{{ .MediaType.Type }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user