From 1c1492cfc279463ab531a943a2a9d0806e70f56c Mon Sep 17 00:00:00 2001 From: The OC Guy Date: Sat, 24 Oct 2026 13:33:47 +0000 Subject: [PATCH] Add self-hosted Plausible analytics to all pages and post template Oliver asked for our self-hosted Plausible snippet on oc-guy.com. The template edit matters most: the daily sync only writes pages for new posts, so a page-level-only change would be lost on the next generated post. Both existing blog pages were updated directly to match the template exactly, so the next sync produces no head diff. The snippet is async and renders nothing: no visual change, no touch to CSS, layout or copy. --- index.html | 6 ++++++ scripts/sync_posts.py | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/index.html b/index.html index 68fb48d..fe30894 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,12 @@ + + + diff --git a/scripts/sync_posts.py b/scripts/sync_posts.py index d44b968..6441305 100644 --- a/scripts/sync_posts.py +++ b/scripts/sync_posts.py @@ -208,6 +208,12 @@ POST_PAGE = """ + + +