diff options
Diffstat (limited to 'templates/page.templ')
-rw-r--r-- | templates/page.templ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page.templ b/templates/page.templ index 7a43485..fb91b23 100644 --- a/templates/page.templ +++ b/templates/page.templ @@ -3,7 +3,7 @@ package templates import ( "io/fs" - "website/internal/config" + "go.alanpearce.eu/website/internal/config" ) var ( @@ -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> |