diff options
author | Alan Pearce | 2024-06-29 13:49:14 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-29 13:49:14 +0200 |
commit | eaeb9bc26a696cc00888e4a7fbcb9dd6ab638c7a (patch) | |
tree | 51347850ecc44a013eba9db4cb66a00017a3545a /templates/page.templ | |
parent | b3ebf0776138bfb76b5304736a09c752fa0515f9 (diff) | |
download | website-eaeb9bc26a696cc00888e4a7fbcb9dd6ab638c7a.tar.lz website-eaeb9bc26a696cc00888e4a7fbcb9dd6ab638c7a.tar.zst website-eaeb9bc26a696cc00888e4a7fbcb9dd6ab638c7a.zip |
switch to self-hosted goatcounter
Diffstat (limited to 'templates/page.templ')
-rw-r--r-- | templates/page.templ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.templ b/templates/page.templ index 7a43485..cf08817 100644 --- a/templates/page.templ +++ b/templates/page.templ @@ -96,7 +96,7 @@ func mkURL(u config.URL, path string, title string) string { } templ counter(config *config.Config, path string, title string) { - <script data-goatcounter={ config.GoatCounter.String() } async src="https://gc.zgo.at/count.v4.js" crossorigin="anonymous" integrity="sha384-nRw6qfbWyJha9LhsOtSb2YJDyZdKvvCFh0fJYlkquSFjUxp9FVNugbfy8q1jdxI+"></script> + <script data-goatcounter={ config.GoatCounter.String() } async src="https://stats.alanpearce.eu/count.v4.js" crossorigin="anonymous" integrity="sha384-nRw6qfbWyJha9LhsOtSb2YJDyZdKvvCFh0fJYlkquSFjUxp9FVNugbfy8q1jdxI+"></script> <noscript> <img src={ string(templ.URL(mkURL(config.GoatCounter, path, title))) }/> </noscript> |