all repos — homestead @ 88ef9f538edea96b82a71e91b1a2953ccdddc476

Code for my website

don't add goatcounter tag in development

Alan Pearce
commit

88ef9f538edea96b82a71e91b1a2953ccdddc476

parent

8b36ca4877a67d344300b52f38942078384161fa

1 file changed, 3 insertions(+), 1 deletion(-)

changed files
M templates/layout.templtemplates/layout.templ
@@ -62,7 +62,9 @@ <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
<a href="https://git.alanpearce.eu/website/">Site source code</a> is <a href="https://opensource.org/licenses/MIT">MIT</a> </footer> - @counter(site, page.Path, page.Title) + if site.EnableGoatCounter { + @counter(site, page.Path, page.Title) + } if site.InjectLiveReload { <script defer> new EventSource("/_/reload").onmessage = event => {