ADD plausible tracking option

This commit is contained in:
Hoernschen 2022-07-17 23:10:18 +02:00
parent 327f17dd39
commit c82a99f16a
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462

View file

@ -32,6 +32,11 @@
{{- $favIcon := .Site.Params.favIcon }} {{- $favIcon := .Site.Params.favIcon }}
<link rel="icon" type="image/png" sizes="16x16" href="{{ if $favIcon.small }}{{ $favIcon.small }}{{ else }}/favIcon16x16.png{{ end }}"> <link rel="icon" type="image/png" sizes="16x16" href="{{ if $favIcon.small }}{{ $favIcon.small }}{{ else }}/favIcon16x16.png{{ end }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ if $favIcon.big }}{{ $favIcon.big }}{{ else }}/favIcon32x32.png{{ end }}"> <link rel="icon" type="image/png" sizes="32x32" href="{{ if $favIcon.big }}{{ $favIcon.big }}{{ else }}/favIcon32x32.png{{ end }}">
{{ with .Site.Params.tracking }}
{{ with .plausible }}
<script defer data-domain="{{ .dataDomain }}" src="{{ .src }}"></script>
{{ end }}
{{ end }}
<link rel="stylesheet" type="text/css" href="/Font-Awesome/css/all.min.css"> <link rel="stylesheet" type="text/css" href="/Font-Awesome/css/all.min.css">
{{ $template := resources.Get "scss/index.scss" }} {{ $template := resources.Get "scss/index.scss" }}
{{ if $template }} {{ if $template }}