diff options
-rw-r--r-- | config.toml | 2 | ||||
-rw-r--r-- | content/2023/statistics-are-now-public.md | 2 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 7 | ||||
-rwxr-xr-x | upload.sh | 2 |
4 files changed, 6 insertions, 7 deletions
diff --git a/config.toml b/config.toml index ec8ae8e..6eaba90 100644 --- a/config.toml +++ b/config.toml @@ -4,4 +4,4 @@ title = "Michal's website" tagline = "a" [params] defaultDescription = "Welcome to my blog!" - + plausibleDomain = "d-s.sh" diff --git a/content/2023/statistics-are-now-public.md b/content/2023/statistics-are-now-public.md index 4aaf429..074937c 100644 --- a/content/2023/statistics-are-now-public.md +++ b/content/2023/statistics-are-now-public.md @@ -9,4 +9,4 @@ tags: ['statistics', 'plausible', 'google'] --- I use Plausible here, a privacy-oriented alternative to Google Analytics. I want to know what you read and where you came from (even if the latter works poorly). I don't want to know who you are. -One cool feature: I can make the statistics public. You can now go to [https://plausible.io/michal.sapka.me](https://plausible.io/michal.sapka.me) and see them if you are interested in how few people reach here :) +One cool feature: I can make the statistics public. You can now go to [https://plausible.io/d-s.sh](https://plausible.io/d-s.sh) and see them if you are interested in how few people reach here :) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 58d2aa3..6c2020c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -33,10 +33,9 @@ <meta name="robots" content="index, follow"> {{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">{{end}} - <script defer data-api="/api/event" data-domain="michal.sapka.me" src="/js/script.js"></script> + <script defer data-api="/api/event" data-domain="{{ .Site.Params.PlausibleDomain}}" src="/js/script.js"></script> </head> - <body> - {{ block "header" . }} + <body> {{ block "header" . }} <nav id="topnav"> <div> <a href="/">Home</a> @@ -73,7 +72,7 @@ </main> <footer> <div> - <a href="https://git.sapka.me/michal-sapka-me.git/" target="_blank">Source code is available</a>. Theme is temporary. <a href="https://plausible.io/michal.sapka.me">Statistics are public</a>. Only glory of Satan is eternal. + <a href="https://git.sapka.me/michal-sapka-me.git/" target="_blank">Source code is available</a>. Theme is temporary. <a href="https://plausible.io/{{ .Site.Params.PlausibleDomain }}">Statistics are public</a>. Only glory of Satan is eternal. <BR><BR> <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. @@ -1,3 +1,3 @@ #!/bin/sh -hugo & rsync -rtvzP public/ root@michal.sapka.me:/var/www/michal/ +hugo & rsync -rtvzP public/ root@michal.sapka.me:/var/www/d-s/ |