move mecount.js closer to activation zone
Anirudh Oppiliappan x@icyphox.sh
Sat, 10 Aug 2024 11:09:58 +0300
2 files changed,
1 insertions(+),
1 deletions(-)
M
views/header.html
→
views/header.html
@@ -24,6 +24,7 @@ </head>
<body> <header> {{ if .UserInfo }} + <script src="/mecount.js"></script> <nav> <ul class="easylinks"> <li><a id="homelink" href="/">home</a>
M
views/honkpage.html
→
views/honkpage.html
@@ -12,7 +12,6 @@ </div>
</div> {{ if .HonkCSRF }} {{ template "honkform.html" . }} -<script src="/mecount.js"></script> <script src="/honkpage.js{{ .JSParam }}" defer data-csrf="{{ .HonkCSRF }}" data-pagename="{{ .PageName }}" data-pagearg="{{ .PageArg }}" data-tophid="{{ .TopHID }}" data-srvmsg="{{ .ServerMessage }}"></script> {{ end }} {{ if .LocalJSParam }}