feat: add Fathom

This commit is contained in:
Oliver Davies 2022-01-26 01:19:42 +00:00
parent 4de2f11f61
commit 1700ff9ca5
3 changed files with 8 additions and 0 deletions

View file

@ -14,6 +14,9 @@ email: oliver@oliverdavies.uk
experience: experience:
start_year: 2007 start_year: 2007
fathom:
id: ~
github: github:
gist: gist:
url: 'https://gist.github.com/%github.name%' url: 'https://gist.github.com/%github.name%'

View file

@ -2,6 +2,9 @@
imports: imports:
- sculpin_site.yml - sculpin_site.yml
fathom:
id: NYZEZAKS
plausible: plausible:
domain: 'oliverdavies.uk' domain: 'oliverdavies.uk'

View file

@ -7,6 +7,8 @@
{% include 'meta' with { page, site } only %} {% include 'meta' with { page, site } only %}
<script src="https://cdn.usefathom.com/script.js" data-site="{{ site.fathom.id }}" defer></script>
{% include 'plausible' with { {% include 'plausible' with {
plausible: site.plausible, plausible: site.plausible,
} only %} } only %}