summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-09-11 08:53:57 +0100
committerYann Herklotz <git@yannherklotz.com>2021-09-11 08:53:57 +0100
commit5ddc46300ea35f8a1bcce7a56a3b1d855cb60331 (patch)
tree0a633f617f0cfd41beba83b9ffcf5ec0e40561f4
parent27e4a2069f9f6816103ff4c62ec7ca51bc0c7ca5 (diff)
downloadhugo-ymherklotz-5ddc46300ea35f8a1bcce7a56a3b1d855cb60331.tar.gz
hugo-ymherklotz-5ddc46300ea35f8a1bcce7a56a3b1d855cb60331.zip
Update head
-rw-r--r--layouts/partials/head.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index e742a0d..6f5094c 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -28,7 +28,9 @@
<link rel="preload" href="/fonts/woff2/iosevka-extrabold.woff2">
+ {{ if not (in (.Site.BaseURL | string) "localhost") }}
{{ if .Site.Params.offen }}
- <script async src="https://offen.ymhg.org/script.js" data-account-id="1791576c-7fc1-437f-9d4b-1d5d5c282ce7"></script>
+ <script async src="https://offen.ymhg.org/script.js" data-account-id="5255f2c5-6a61-4e35-81cd-50505bf5833e"></script>
+ {{ end }}
{{ end }}
</head>