From 014280a244c7d6cdc7e950250ffbed66b531f541 Mon Sep 17 00:00:00 2001 From: Robin Moffatt Date: Wed, 13 Nov 2024 18:04:33 +0000 Subject: [PATCH] Add Posthog --- config.yaml | 2 +- themes/story/layouts/_default/baseof.html | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index a04211d..fb30ad5 100644 --- a/config.yaml +++ b/config.yaml @@ -1,7 +1,7 @@ theme: "story" baseURL: "https://rmoff.net" languageCode : "en-us" -title: "rmoff's random ramblings2" +title: "rmoff's random ramblings" googleAnalytics: "UA-75492960-1" paginate: 20 timeout: 120s diff --git a/themes/story/layouts/_default/baseof.html b/themes/story/layouts/_default/baseof.html index d56aabf..1471ada 100644 --- a/themes/story/layouts/_default/baseof.html +++ b/themes/story/layouts/_default/baseof.html @@ -27,7 +27,13 @@ {{ end }} - + + + {{ if or (in .Site.Params.classes "feature-highlight") (in .Params.classes "feature-highlight") -}} {{- if not (or (in .Site.Params.classes "feature-nohighlight") (in .Params.classes "feature-nohighlight") ) -}}