add Plausible to head
All checks were successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
Andrew Woodlee 2024-10-31 18:54:07 -05:00
parent 824f9b6405
commit 0a5b9a8789
3 changed files with 21 additions and 1 deletions

View File

@ -7,6 +7,25 @@ theme:
- plausible-hugo - plausible-hugo
params: params:
csp:
childsrc:
- "'self'"
fontsrc:
- "'self'"
formaction:
- "'self'"
framesrc:
- "'self'"
imgsrc:
- "'self'"
objectsrc:
- "'none'"
stylesrc:
- "'self'"
scriptsrc:
- "'self'"
- "'https://stats.andrewnw.com'"
plausible: plausible:
enable: true enable: true
domain: blog.cybershell.xyz domain: blog.cybershell.xyz

View File

@ -8,6 +8,7 @@
<head> <head>
{{- partial "head.html" . }} {{- partial "head.html" . }}
{{ partial "plausible_head.html" . }} {{ partial "plausible_head.html" . }}
{{ partial "analytics.html" . }}
</head> </head>
<body class=" <body class="

View File

@ -1 +1 @@
<!-- <script defer data-domain="blog.cybershell.xyz" src="https://stats.andrewnw.com/js/script.outbound-links.tagged-events.js"></script> --> <script defer data-domain="blog.cybershell.xyz" src="https://stats.andrewnw.com/js/script.outbound-links.tagged-events.js"></script>