diff --git a/hugo.yaml b/hugo.yaml index da13e3a..c74c76b 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -7,6 +7,25 @@ theme: - plausible-hugo params: + csp: + childsrc: + - "'self'" + fontsrc: + - "'self'" + formaction: + - "'self'" + framesrc: + - "'self'" + imgsrc: + - "'self'" + objectsrc: + - "'none'" + stylesrc: + - "'self'" + scriptsrc: + - "'self'" + - "'https://stats.andrewnw.com'" + plausible: enable: true domain: blog.cybershell.xyz diff --git a/layouts/_defaults/baseof.html b/layouts/_defaults/baseof.html index e936c16..ab8d2c3 100644 --- a/layouts/_defaults/baseof.html +++ b/layouts/_defaults/baseof.html @@ -8,6 +8,7 @@
{{- partial "head.html" . }} {{ partial "plausible_head.html" . }} + {{ partial "analytics.html" . }} --> \ No newline at end of file + \ No newline at end of file