add Plausible Analytics
Some checks failed
ci/woodpecker/push/deploy Pipeline failed

This commit is contained in:
Andrew Woodlee 2024-10-31 17:13:52 -05:00
parent b85bbc9f95
commit ac9d13df6e
3 changed files with 17 additions and 8 deletions

View File

@ -2,7 +2,20 @@ baseURL: https://blog.cybershell.xyz
languageCode: en-us
title: CyberShell's Blog
pagination.pagerSize: 5
theme: PaperMod
theme:
- PaperMod
- plausible-hugo
params:
plausible:
enable: true
domain: blog.cybershell.xyz
module:
imports:
- path: plausible-hugo
enableRobotsTXT: true
buildDrafts: false

View File

@ -1,7 +1 @@
<script>
window.goatcounter = {
path: function(p) { return location.host + p }
}
</script>
<script data-goatcounter="https://stats.andrewnw.com/count"
async src="//stats.andrewnw.com/count.js"></script>
<!-- <script defer data-domain="blog.cybershell.xyz" src="https://stats.andrewnw.com/js/script.outbound-links.tagged-events.js"></script> -->

2
static/_redirects Normal file
View File

@ -0,0 +1,2 @@
/misc/js/script.js https://stats.andrewnw.com/js/script.js 200
/misc/api/event https://stats.andrewnw.com/api/event 200