summaryrefslogtreecommitdiff
path: root/themes/blowfish/layouts/partials/head.html
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-08-28 22:54:34 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-08-28 22:54:34 +0200
commit8f3d03b1888fed23e6aa07d6077045e673357481 (patch)
treea914b8f43b8486380ccc1c35721b28da2ff7986a /themes/blowfish/layouts/partials/head.html
parent8db6bd0e555dca050d7d885582100c5ca5ba3aa2 (diff)
sync themeHEADmaster
Diffstat (limited to 'themes/blowfish/layouts/partials/head.html')
-rw-r--r--themes/blowfish/layouts/partials/head.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/themes/blowfish/layouts/partials/head.html b/themes/blowfish/layouts/partials/head.html
index f59e9dc..a1c4b30 100644
--- a/themes/blowfish/layouts/partials/head.html
+++ b/themes/blowfish/layouts/partials/head.html
@@ -74,7 +74,8 @@
}}"></script>
{{ end }}
{{ if not .Site.Params.disableImageZoom | default true }}
- <script src="{{ "js/zoom.min.js" | relURL }}"></script>
+ {{ $zoomJS := resources.Get "lib/zoom/zoom.min.js" | resources.Fingerprint "sha512" }}
+ <script src="{{ $zoomJS.RelPermalink }}" integrity="{{ $zoomJS.Data.Integrity }}"></script>
{{ end }}
{{/* Icons */}}
{{ if templates.Exists "partials/favicons.html" }}
@@ -104,9 +105,9 @@
{{/* Schema */}}
{{ partial "schema.html" . }}
{{/* Me */}}
- {{ with .Site.Author.name }}
+ {{ with .Site.Params.Author.name }}
<meta name="author" content="{{ . }}" />{{ end }}
- {{ with .Site.Author.links }}
+ {{ with .Site.Params.Author.links }}
{{ range $links := . }}
{{ range $name, $url := $links }}
<link href="{{ $url }}" rel="me" />{{ end }}