Hide the analytics snippet while in dev mode
This commit is contained in:
parent
e4096ac846
commit
a104a68eaa
1 changed files with 2 additions and 0 deletions
|
@ -5,7 +5,9 @@
|
|||
<meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
{{ if hugo.IsProduction }}
|
||||
<script defer src="https://umami.ctrlz.es/script.js" data-website-id="c9350800-e7dc-4f98-9b0e-19e6ba4bf32d"></script>
|
||||
{{ end }}
|
||||
{{- partial "favicon.html" . -}}
|
||||
<title>{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}</title>
|
||||
|
||||
|
|
Loading…
Reference in a new issue