From c255c6d090b6be37906a9a086f60c9fe8694ca24 Mon Sep 17 00:00:00 2001 From: Louise McMahon Date: Thu, 5 Sep 2024 19:24:57 +0100 Subject: [PATCH] Add goatcounter analytics (#76) Co-authored-by: alifeee --- _config.yml | 1 + _includes/head.html | 12 ++++++++++++ docker-compose.yml | 4 ++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 674ae647..b9073861 100644 --- a/_config.yml +++ b/_config.yml @@ -29,6 +29,7 @@ github_username: "sheffieldhackspace" facebook_username: "SHHMakers" instagram_username: "SHHMakers" logo: /assets/images/logo.svg +goat_counter_url: "https://sheffieldhackspacewebsite.goatcounter.com" # Build settings theme: jekyll-theme-basically-basic diff --git a/_includes/head.html b/_includes/head.html index 7320b7ec..00a0c852 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,3 +1,6 @@ +{% assign base.url = 'bbf-PI.531.001.085x107.jpg' %} + + @@ -42,4 +45,13 @@ + + {% if jekyll.environment == "production" %} + + + + {% endif %} + diff --git a/docker-compose.yml b/docker-compose.yml index 6c51f196..67ec4964 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,9 @@ -version: '2' - services: jekyll: image: jekyll/jekyll:latest command: jekyll serve --watch --force_polling --verbose + environment: + - JEKYLL_ENV=development ports: - 4000:4000 volumes: