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"