From 9be6b41d25ea390f1aad77cd59756f03592755a6 Mon Sep 17 00:00:00 2001 From: invinciblycool Date: Thu, 18 Jun 2020 16:46:10 +0530 Subject: Add GoatCounter --- .personalize.toml | 3 +-- README.md | 4 ++++ layouts/index.html | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.personalize.toml b/.personalize.toml index a113bda..fe56050 100644 --- a/.personalize.toml +++ b/.personalize.toml @@ -27,5 +27,4 @@ url = "" name = "LinkedIn" url = "" -[[analytics]] -code = "" +GoatCounterCode = "" diff --git a/README.md b/README.md index 0a575ad..6067d10 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Simple, text-focussed and minimal personal portfolio theme based on https://gith * Easy to personalize * RSS feed * Dark mode (taken from https://www.gwern.net/ as it is.) +* GoatCounter counts(analytics). Know more about GoatCounter [here](https://goatcounter.com) ## Installation @@ -65,6 +66,9 @@ url = "" name = "LinkedIn" url = "" +# This is the endpoint under the integrations section of the Site Code +GoatCounterCode = "" + ``` ## Posts diff --git a/layouts/index.html b/layouts/index.html index 0161c53..0bc4f18 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -42,9 +42,9 @@

View all posts

- {{ if ne .Site.Data.personalize.analytics.code ""}} - + {{ if ne .Site.Data.personalize.GoatCounterCode ""}} + {{ end }} - \ No newline at end of file + -- cgit v1.2.3