all repos — homestead @ 21b55d5338357e1f13767ad2473e1722e00e269a

Code for my website

switch to self-hosted goatcounter

Alan Pearce
commit

21b55d5338357e1f13767ad2473e1722e00e269a

parent

d6ea4f940728bd4c44fb0ff28d82cd1a27159f8b

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M templates/page.templtemplates/page.templ
@@ -96,7 +96,7 @@ return u.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>