Add support for plausible analytics
This commit is contained in:
parent
098767e766
commit
e82879434e
|
@ -34,6 +34,10 @@
|
||||||
onload="renderMathInElement(document.body);"></script>
|
onload="renderMathInElement(document.body);"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with .Site.Params.plausibleAnalyticsDomain }}
|
||||||
|
<!-- Plausible analytics, because log parsing is not working all that well. -->
|
||||||
|
<script defer data-domain="{{ . }}" src="https://plausible.io/js/script.js"></script>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user