diff options
Diffstat (limited to 'themes/blowfish/layouts/partials/head.html')
-rw-r--r-- | themes/blowfish/layouts/partials/head.html | 7 |
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 }} |