diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 8a0d76e8..a549910c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -68,6 +68,8 @@ {{ $jsRTL := resources.Get "js/rtl.js" }} {{ $assets.Add "js" (slice $jsRTL) }} {{ end }} + {{ $jsMobileMenu := resources.Get "js/mobilemenu.js" }} + {{ $assets.Add "js" (slice $jsMobileMenu) }} {{ if $assets.Get "js" }} {{ $bundleJS := $assets.Get "js" | resources.Concat "js/main.bundle.js" | resources.Minify | resources.Fingerprint "sha512" }} @@ -76,7 +78,8 @@ }}"> {{ end }} {{ if not .Site.Params.disableImageZoom | default true }} - + {{ $zoomJS := resources.Get "lib/zoom/zoom.min.js" | resources.Fingerprint "sha512" }} + {{ end }} {{/* Icons */}} {{ if templates.Exists "partials/favicons.html" }} diff --git a/layouts/partials/header/basic.html b/layouts/partials/header/basic.html index b1b5052a..5e9aa503 100644 --- a/layouts/partials/header/basic.html +++ b/layouts/partials/header/basic.html @@ -91,8 +91,7 @@
-