From d74485bdd6725a2121a9b395c1623dc0c64ec10f Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Mon, 27 Nov 2023 16:25:16 +0100 Subject: [PATCH] update stat script (plausible, proxied) to proxy script, added following to my apache vhost config: ProxyRequests off ProxyPreserveHost off SSLProxyEngine on ProxyPass https://plausible.io/js/script.js ProxyPassReverse https://plausible.io/js/script.js ProxyPass https://plausible.io/api/event ProxyPassReverse https://plausible.io/api/event --- layouts/partials/extend-head.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/layouts/partials/extend-head.html b/layouts/partials/extend-head.html index 184e2bd..87721dd 100644 --- a/layouts/partials/extend-head.html +++ b/layouts/partials/extend-head.html @@ -1 +1,4 @@ - +{{ if hugo.IsProduction }} + +{{ end }} +