all repos — honk @ 3c7de003820ee24bbe125c9f24e6e792d1bf0853

my fork of honk

move mecount.js closer to activation zone
Anirudh Oppiliappan x@icyphox.sh
Sat, 10 Aug 2024 11:09:58 +0300
commit

3c7de003820ee24bbe125c9f24e6e792d1bf0853

parent

9534ea09dfb73022060accafd4a248fe0b4b5c93

2 files changed, 1 insertions(+), 1 deletions(-)

jump to
M views/header.htmlviews/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.htmlviews/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 }}