Compare commits

..

1 Commits

Author SHA1 Message Date
will 344dc4719b Add Plausible Analytics tracking
deploy / deploy (push) Successful in 11s
Wires the site up to the newly-deployed self-hosted Plausible instance
at plausible.reground.org, gated behind hugo.IsProduction so local dev
builds never send events.
2026-08-21 13:23:58 -04:00
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ disableKinds = ["taxonomy", "term"]
description = "DevOps consulting, ghostwriting, and helping fiction authors find their right readers"
author = "Will Estes"
eec_base_url = "https://eec.reground.org"
plausible_domain = "reground.org"
# [[menu.main]]
# name = "Courses"
+1
View File
@@ -15,6 +15,7 @@
{{ else }}
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
{{ end }}
{{ partial "head-analytics.html" . }}
</head>
<body>
<a class="skip-link" href="#main-content">Skip to content</a>
+5
View File
@@ -0,0 +1,5 @@
{{ if hugo.IsProduction }}
{{ with .Site.Params.plausible_domain }}
<script defer data-domain="{{ . }}" src="https://plausible.reground.org/js/script.js"></script>
{{ end }}
{{ end }}