ybbond

My site. The main domain
Log | Files | Refs | README | LICENSE | CC-LICENSE

commit 028180438b874406e563ea811c9a2a13bd7ec8e0
parent 420a66107771d2a7bbce576bc5db66426bc95de6
Author: Yohanes Bandung Bondowoso <hi@ybbond.dev>
Date:   Fri, 19 Jun 2020 09:16:15 +0700

refactor: added goatcounter without javascript

Diffstat:
Mlayouts/partials/head/head.html | 6++++--

1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html
@@ -19,6 +19,9 @@
 <script type="application/javascript" src="{{ .Site.BaseURL }}darkToggler.js" async="true"></script>
 <script type="application/javascript" src="{{ .Site.BaseURL }}lazyImage.js" async="true"></script>
 <script data-goatcounter="https://stats.ybbond.dev/count" async="true" src="//gc.zgo.at/count.js"></script>
+<noscript>
+  <img src="https://stats.ybbond.dev/count?p=/test-img">
+</noscript>
 
 <style>
   {{ with resources.Get "styles.scss" | resources.ToCSS | resources.Minify }}
@@ -31,4 +34,4 @@
 
 {{ partial "head/auth-links.html" . }}
 {{ partial "head/og-metas.html" . }}
-{{ partial "head/twitter-card-metas.html" . }}-
\ No newline at end of file
+{{ partial "head/twitter-card-metas.html" . }}