From 56f2bc3312c7f7684e95ff47c888a53181eb6f63 Mon Sep 17 00:00:00 2001 From: "Jens M. Sauer" Date: Tue, 25 Mar 2025 15:10:45 +0100 Subject: [PATCH] Remove plausible Remove plausible tracking. --- .gitmodules | 3 --- config/_default/hugo.toml | 9 +-------- config/staging/hugo.toml | 3 --- layouts/partials/footer.html | 6 +++--- layouts/partials/head.html | 1 - layouts/partials/plausible_js.html | 9 --------- themes/plausible-hugo | 1 - 7 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 layouts/partials/plausible_js.html delete mode 160000 themes/plausible-hugo diff --git a/.gitmodules b/.gitmodules index 0042e74..2693c75 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ [submodule "themes/bar-filipo.de-theme"] path = themes/bar-filipo.de-theme url = git@git.oxygin.net:jsauer/bar-filipo.de-theme.git -[submodule "themes/plausible-hugo"] - path = themes/plausible-hugo - url = https://github.com/divinerites/plausible-hugo.git diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index b5a3908..8394b1c 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -3,7 +3,7 @@ ## ----------------------------------------------- title = 'Bar Filipo' -theme = ['bar-filipo.de-theme', 'plausible-hugo'] +theme = ['bar-filipo.de-theme'] copyright = "2024" ## ----------------------------------------------- @@ -42,10 +42,3 @@ disableKinds = ["taxonomy", "section"] [Params.privacy] url = "datenschutz" label = "Datenschutz" - -[Params.plausible] - enable = true - domain = "bar-filipo.de" - selfhosted_domain = "plausible.oxygin.net" - gitstar = false - outbound_link = true diff --git a/config/staging/hugo.toml b/config/staging/hugo.toml index ad7ad7e..3c14354 100644 --- a/config/staging/hugo.toml +++ b/config/staging/hugo.toml @@ -3,6 +3,3 @@ ## ----------------------------------------------- baseURL = "https://staging.bar-filipo.de/" - -[Params.plausible] - enable = false \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b4eec31..f8b748b 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,10 +4,10 @@ {{ with .Site.Params.imprint }} {{ .label }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f566908..5ce0098 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -39,5 +39,4 @@ {{ end }} {{ end }} - {{ partial "plausible_head.html" . }} diff --git a/layouts/partials/plausible_js.html b/layouts/partials/plausible_js.html deleted file mode 100644 index 23da253..0000000 --- a/layouts/partials/plausible_js.html +++ /dev/null @@ -1,9 +0,0 @@ -function ClickOnInstagram() { - plausible('Instagram'); -} -function ClickOnMail() { - plausible('Mail'); -} -function ClickOnWhatsApp() { - plausible('WhatsApp'); -} diff --git a/themes/plausible-hugo b/themes/plausible-hugo deleted file mode 160000 index 156a047..0000000 --- a/themes/plausible-hugo +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 156a0478888cf1fe23d8f65b98e122865770d2d6