From c5a883f78b1221a73719d939d1905a2c461b2702 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Fri, 1 Jul 2022 14:07:01 +0200 Subject: Add jQuery support --- layouts/partials/head.html | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e77e902..587becb 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -12,8 +12,6 @@ {{ hugo.Generator }} {{ partial "styles.html" . }} - {{ partial "data.html" . }} - {{ block "custom-scripts" . }}{{ partial "custom-scripts.html" . }}{{ end }} {{- /* Favicons */}} @@ -30,15 +28,9 @@ {{ block "custom-head" . }}{{ partial "custom-head.html" . }}{{ end }} - {{ with site.GoogleAnalytics }} - {{ $ga := resources.Get "js/ga.js" | minify | fingerprint }} - {{ if not site.Params.assets.disable_fingerprinting }} - {{ $ga = $ga | fingerprint }} - - {{ else }} - - {{ end }} - {{ end }} + {{ partial "data.html" . }} + {{ partial "scripts.html" . }} + {{ block "custom-scripts" . }}{{ partial "custom-scripts.html" . }}{{ end }} {{- /* Misc */}} {{ template "partials/templates/opengraph.html" . }} -- cgit v1.2.3