From be66f20832719d55fd255c24caf2cd50ca00e4f1 Mon Sep 17 00:00:00 2001 From: Lilith River Date: Fri, 23 Feb 2024 19:08:23 -0700 Subject: [PATCH] Drop GTM, add plausible --- config.yml | 4 ++-- content/_layout/layout.slim | 3 ++- content/_layout/plausible.slim | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 content/_layout/plausible.slim diff --git a/config.yml b/config.yml index 9a6e6dc6..3802b6ea 100644 --- a/config.yml +++ b/config.yml @@ -33,8 +33,8 @@ disqus_short_name: resizer content: content -google_tag_manager: "GTM-5JKQ2GP" - +# google_tag_manager: "GTM-5JKQ2GP" +plausible: true # Google Webmaster and Analytics usually require a 'google[code].html' file be placed on the domain # Use this feature to do this without polluting your directory structure diff --git a/content/_layout/layout.slim b/content/_layout/layout.slim index ae8c0060..b9bd53f9 100644 --- a/content/_layout/layout.slim +++ b/content/_layout/layout.slim @@ -21,7 +21,8 @@ html(lang="en" class="no-js") meta name="viewport" content="width=device-width, initial-scale=1" == partial :gtm - + == partial :plausible + link href="/css/less/site.css" rel="stylesheet" / - if page.lib? :twentytwenty / link href="/css/twentytwenty.css" rel="stylesheet" diff --git a/content/_layout/plausible.slim b/content/_layout/plausible.slim new file mode 100644 index 00000000..b9e2191f --- /dev/null +++ b/content/_layout/plausible.slim @@ -0,0 +1,2 @@ +- if config.plausible + script defer data-domain="imageresizing.net" src="https://plausible.io/js/script.js"