From 05c9d3d850b28f1912069bdfe9d90a6c294a7b04 Mon Sep 17 00:00:00 2001 From: Luca Argentieri <16280387+SilverLuke@users.noreply.github.com> Date: Tue, 31 Oct 2023 08:15:28 +0100 Subject: [PATCH] Add self-hosted goat counter (#826) * Add self-hosted goat counter * GoatCounter custom instance and beckward compatibility --------- Co-authored-by: SilverLuke Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- layouts/partials/analytics.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html index fac3a0931..860bac513 100644 --- a/layouts/partials/analytics.html +++ b/layouts/partials/analytics.html @@ -1,6 +1,6 @@ {{ with site.Params.features.analytics }} - {{ if .enabled }} + {{ if or .enable .enabled }} {{ with .services }} {{ with .google }} @@ -18,12 +18,12 @@ {{ end }} - {{ with .goatCounter }} - + {{ with .goatCounter }} + {{ with .code }} + + {{ else }} + + {{ end }} {{ end }}