diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-01 14:07:01 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-01 14:07:01 +0200 |
| commit | c5a883f78b1221a73719d939d1905a2c461b2702 (patch) | |
| tree | 2be61cc3e8746e7bb3ac28f4dd342d840925ae5a /layouts/partials/head.html | |
| parent | 70a7836f477c6138d9159798d8f3aa8940155adc (diff) | |
| download | gohugo-theme-ed-c5a883f78b1221a73719d939d1905a2c461b2702.tar.gz | |
Add jQuery support
Diffstat (limited to 'layouts/partials/head.html')
| -rw-r--r-- | layouts/partials/head.html | 14 |
1 files changed, 3 insertions, 11 deletions
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 */}} <link rel="icon" href="{{ site.Params.assets.favicon | default "favicon.ico" | relURL }}" sizes="any"><!-- 32×32 --> @@ -30,15 +28,9 @@ <meta name="theme-color" content="#ffffff"> {{ 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 }} - <script src="{{ $ga.Permalink }}" integrity="{{ $ga.Data.Integrity }}"></script> - {{ else }} - <script src="{{ $ga.Permalink }}"></script> - {{ end }} - {{ end }} + {{ partial "data.html" . }} + {{ partial "scripts.html" . }} + {{ block "custom-scripts" . }}{{ partial "custom-scripts.html" . }}{{ end }} {{- /* Misc */}} {{ template "partials/templates/opengraph.html" . }} |
