Remove plausible

Remove plausible tracking.
This commit is contained in:
Jens M. Sauer 2025-03-25 15:10:45 +01:00
parent e3e2d170f8
commit 56f2bc3312
7 changed files with 4 additions and 28 deletions

3
.gitmodules vendored
View File

@ -1,6 +1,3 @@
[submodule "themes/bar-filipo.de-theme"] [submodule "themes/bar-filipo.de-theme"]
path = themes/bar-filipo.de-theme path = themes/bar-filipo.de-theme
url = git@git.oxygin.net:jsauer/bar-filipo.de-theme.git 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

View File

@ -3,7 +3,7 @@
## ----------------------------------------------- ## -----------------------------------------------
title = 'Bar Filipo' title = 'Bar Filipo'
theme = ['bar-filipo.de-theme', 'plausible-hugo'] theme = ['bar-filipo.de-theme']
copyright = "2024" copyright = "2024"
## ----------------------------------------------- ## -----------------------------------------------
@ -42,10 +42,3 @@ disableKinds = ["taxonomy", "section"]
[Params.privacy] [Params.privacy]
url = "datenschutz" url = "datenschutz"
label = "Datenschutz" label = "Datenschutz"
[Params.plausible]
enable = true
domain = "bar-filipo.de"
selfhosted_domain = "plausible.oxygin.net"
gitstar = false
outbound_link = true

View File

@ -3,6 +3,3 @@
## ----------------------------------------------- ## -----------------------------------------------
baseURL = "https://staging.bar-filipo.de/" baseURL = "https://staging.bar-filipo.de/"
[Params.plausible]
enable = false

View File

@ -4,10 +4,10 @@
<ul class="icons"> <ul class="icons">
{{ with .Site.Params.social.github }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-github"><span class="label">Github</span></a></li>{{end}} {{ with .Site.Params.social.github }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-github"><span class="label">Github</span></a></li>{{end}}
{{ with .Site.Params.social.twitter }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>{{end}} {{ with .Site.Params.social.twitter }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>{{end}}
{{ with .Site.Params.social.instagram }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-instagram" onclick="ClickOnInstagram()"><span class="label">Instagram</span></a></li>{{end}} {{ with .Site.Params.social.instagram }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-instagram"><span class="label">Instagram</span></a></li>{{end}}
{{ with .Site.Params.social.linkedin }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>{{end}} {{ with .Site.Params.social.linkedin }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>{{end}}
{{ with .Site.Params.social.email }}<li><a target="_blank" href="mailto:{{.}}" class="fav icon style2 fa-envelope" onclick="ClickOnMail()"><span class="label">Email</span></a></li>{{end}} {{ with .Site.Params.social.email }}<li><a target="_blank" href="mailto:{{.}}" class="fav icon style2 fa-envelope"><span class="label">Email</span></a></li>{{end}}
{{ with .Site.Params.social.whatsapp }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-whatsapp" onclick="ClickOnWhatsApp()"><span class="label">WhatsApp</span></a></li>{{end}} {{ with .Site.Params.social.whatsapp }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-whatsapp"><span class="label">WhatsApp</span></a></li>{{end}}
</ul> </ul>
{{ with .Site.Params.imprint }} {{ with .Site.Params.imprint }}
<a href="{{ .Site.BaseURL }}/{{ .url }}">{{ .label }}</a> <a href="{{ .Site.BaseURL }}/{{ .url }}">{{ .label }}</a>

View File

@ -39,5 +39,4 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ partial "plausible_head.html" . }}
</head> </head>

View File

@ -1,9 +0,0 @@
function ClickOnInstagram() {
plausible('Instagram');
}
function ClickOnMail() {
plausible('Mail');
}
function ClickOnWhatsApp() {
plausible('WhatsApp');
}

@ -1 +0,0 @@
Subproject commit 156a0478888cf1fe23d8f65b98e122865770d2d6