diff --git a/hugo.toml b/hugo.toml index 2b22722..56220aa 100644 --- a/hugo.toml +++ b/hugo.toml @@ -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" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 32afb2c..574fc65 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -15,6 +15,7 @@ {{ else }} {{ end }} + {{ partial "head-analytics.html" . }}
Skip to content diff --git a/layouts/partials/head-analytics.html b/layouts/partials/head-analytics.html new file mode 100644 index 0000000..9da3dc4 --- /dev/null +++ b/layouts/partials/head-analytics.html @@ -0,0 +1,5 @@ +{{ if hugo.IsProduction }} +{{ with .Site.Params.plausible_domain }} + +{{ end }} +{{ end }}