From ab83a6a622f1930de984d172bfc1dc9e5764737a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 18 May 2019 21:19:30 +0100 Subject: [PATCH] Install fathom analytics --- layouts/_default/baseof.html | 4 ++++ layouts/partials/fathom.html | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 layouts/partials/fathom.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 0186bfe..26d295e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -47,5 +47,9 @@ {{ end }} {{ partial "script_async.html" "js/app.js" }} + + {{ if not .Site.IsServer }} + {{ partial "fathom.html" }} + {{ end }} diff --git a/layouts/partials/fathom.html b/layouts/partials/fathom.html new file mode 100644 index 0000000..aec7d74 --- /dev/null +++ b/layouts/partials/fathom.html @@ -0,0 +1,15 @@ + + +