added plausible and stars

This commit is contained in:
Techno Duck 2024-02-29 20:54:00 -05:00
parent 405e84291a
commit fe877ee21f
2 changed files with 8 additions and 0 deletions

View file

@ -7,6 +7,11 @@
<body class="{{ block `body-class` . }}{{ end }}">
{{- partial "head/colorScheme" . -}}
<section class="animated-background" style="position:fixed;z-index:-1;">
<div id="stars1"></div>
<div id="stars2"></div>
<div id="stars3"></div>
</section>
{{/* The container is wider when there's any activated widget */}}
{{- $hasWidget := false -}}
{{- range .Site.Params.widgets -}}

View file

@ -0,0 +1,3 @@
{{ if .Site.Params.plausible }}
<script defer data-domain="{{ .Site.Params.plausible_domain }}" src="{{ .Site.Params.plausible_script }}"></script>
{{ end }}