From 1700ff9ca5dca92495837cf6fd200d03d2b0f44b Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 26 Jan 2022 01:19:42 +0000 Subject: [PATCH] feat: add Fathom --- app/config/sculpin_site.yml | 3 +++ app/config/sculpin_site_prod.yml | 3 +++ source/_layouts/app.html.twig | 2 ++ 3 files changed, 8 insertions(+) diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index f0944111..c7f01f1c 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -14,6 +14,9 @@ email: oliver@oliverdavies.uk experience: start_year: 2007 +fathom: + id: ~ + github: gist: url: 'https://gist.github.com/%github.name%' diff --git a/app/config/sculpin_site_prod.yml b/app/config/sculpin_site_prod.yml index 6897232c..f35482c8 100644 --- a/app/config/sculpin_site_prod.yml +++ b/app/config/sculpin_site_prod.yml @@ -2,6 +2,9 @@ imports: - sculpin_site.yml +fathom: + id: NYZEZAKS + plausible: domain: 'oliverdavies.uk' diff --git a/source/_layouts/app.html.twig b/source/_layouts/app.html.twig index d2db5e69..47f72c65 100644 --- a/source/_layouts/app.html.twig +++ b/source/_layouts/app.html.twig @@ -7,6 +7,8 @@ {% include 'meta' with { page, site } only %} + + {% include 'plausible' with { plausible: site.plausible, } only %}