diff options
-rw-r--r-- | layouts/partials/footer.html | 1 | ||||
-rw-r--r-- | layouts/partials/goatcounter_analytics.html | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 42af21b..f0fed05 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,6 +3,7 @@ <script src="{{ .Site.BaseURL }}js/ui.js"></script> <script src="{{ .Site.BaseURL }}js/menus.js"></script> +{{ partial "goatcounter_analytics.html" . }} {{ partial "google_analytics.html" . }} {{ partial "piwik_analytics.html" . }} {{ partial "footer_mathjax" . }} diff --git a/layouts/partials/goatcounter_analytics.html b/layouts/partials/goatcounter_analytics.html new file mode 100644 index 0000000..9810f2b --- /dev/null +++ b/layouts/partials/goatcounter_analytics.html @@ -0,0 +1,5 @@ +{{ with .Site.Params.goatcounterAnalytics }} +<!-- GoatCounter --> +<script data-goatcounter="https://{{ . }}.goatcounter.com/count" + async src="//gc.zgo.at/count.js"></script> +{{ end }} |