From 20dd57d1d3cddd20b2d5d4e5e388a9ddb1bd691d Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 5 Jan 2025 10:04:01 +0100 Subject: [PATCH] only enable cloudflare and plausible tracking via "https://oe7drt.com" --- layouts/_default/baseof.html | 4 +++- layouts/partials/extend-head.html | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 97cfd87..1424afc 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -47,6 +47,8 @@ {{- partial "search.html" . -}} {{ end }} - + {{- if eq .Site.BaseURL "https://oe7drt.com/" }} + + {{- end }} diff --git a/layouts/partials/extend-head.html b/layouts/partials/extend-head.html index 6ed0b08..e6af5b6 100644 --- a/layouts/partials/extend-head.html +++ b/layouts/partials/extend-head.html @@ -1,4 +1,6 @@ -{{ partial "plausible_head.html" . }} +{{- if eq .Site.BaseURL "https://oe7drt.com/" }} + {{ partial "plausible_head.html" . }} +{{- end }} {{ with resources.Get "js/lightbox.js" }} {{ if hugo.IsDevelopment }} {{ with .