ybbond

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

commit bb3815d690222f1f62cf8f77473e9e4caa69860b
parent d4892e473b7fce9cc920a9a48daaf6fbba7c0dd7
Author: Yohanes Bandung Bondowoso <hi@ybbond.dev>
Date:   Thu, 20 Aug 2020 18:56:55 +0700

refactor(tracker): remove goatcounter

Diffstat:
Mcontent/_index.md | 2--
Mlayouts/index.html | 4++--
Mlayouts/partials/footer/footer.html | 30------------------------------
Mlayouts/partials/head/head.html | 4----

4 files changed, 2 insertions(+), 38 deletions(-)

diff --git a/content/_index.md b/content/_index.md
@@ -5,4 +5,3 @@ Hi! I'm **Bandung**, welcome to my site!
 This site contains my [posts](/posts/ "Link to list of posts"), my often random [notes](/notes/ "Link to list of notes"), and the [archives](/archives/ "Link to list of archived posts") from my old blog.
 See basic "snapshot" [report](/reports/ "Link to list of this site's basic reports") of this site's size.
 Here is the RSS for [post](/index.xml "Link to the RSS feed for posts") and here is for [notes](/notes/index.xml "Link to the RSS feed for notes").
-Web analytics that I use respects your privacy, see [the stats](https://ybbond.goatcounter.com/ "Link to ybbond.goatcounter.com").-
\ No newline at end of file
diff --git a/layouts/index.html b/layouts/index.html
@@ -28,7 +28,7 @@
       </a>
     {{ end }}
   </div>
-  <p class="main__more"><a data-goatcounter-click="cl-posts-more" href={{ $postURL }} class="button">More Blogs ⤳</a></p>
+  <p class="main__more"><a href={{ $postURL }} class="button">More Blogs ⤳</a></p>
 
   <hr>
 
@@ -38,7 +38,7 @@
       {{ partial "post/notes-item.html" . }}
     {{ end }}
   </div>
-  <p class="main__more"><a data-goatcounter-click="cl-notes-more" href={{ $notesURL }} class="button">More Notes ⤳</a></p>
+  <p class="main__more"><a href={{ $notesURL }} class="button">More Notes ⤳</a></p>
 
 
 {{ end }}
diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html
@@ -3,7 +3,6 @@
   <p class="footer__nav__left">
     {{ if not .IsHome }}
       <a
-        data-goatcounter-click="cl-home-foot"
         data-rel="prefetch"
         title="Button to go back to home page"
         href={{ .Site.BaseURL }}
@@ -13,76 +12,47 @@
   </p>
   <p class="footer__nav__right">
     <a
-      data-goatcounter-click="cl-gh-foot"
       href="https://github.com/{{ .Site.Params.Github }}"
       title="external link to my github profile"
       rel="me"
     >GitHub</a>
     <a
-      data-goatcounter-click="cl-twit-foot"
       href="https://twitter.com/{{ .Site.Params.Twitter }}"
       title="external link to my twitter profile"
       rel="me"
     >Twitter</a>
     <a
-      data-goatcounter-click="cl-micro-foot"
       href="https://micro.blog/{{ .Site.Params.Microblog }}"
       title="external link to my micro dot blog profile"
       rel="me"
     >Micro.blog</a>
     <a
-      data-goatcounter-click="cl-mast-foot"
       href="https://indieweb.social/@ybbond"
       title="external link to my mastodon profile"
       rel="me"
     >Mastodon</a>
     <a
-      data-goatcounter-click="cl-rss-foot"
       title="link to the RSS Feed for main content of this site"
       href={{ "index.xml" | absURL }}
     >RSS</a>
   </p>
 </div>
 
-<center>
-  <span class="footer__analytic">
-    This site implements
-    <a
-      href="https://goatcounter.com"
-      data-goatcounter-click="cl-gc-foot"
-      target="_blank"
-      title="A Good Privacy Aware Web Analytics"
-      rel="noreferrer noopener"
-    >GoatCounter</a> web analytics,
-    see results
-    <a
-      href="https://ybbond.goatcounter.com/"
-      data-goatcounter-click="cl-stats-foot"
-      target="_blank"
-      title="external link to ybbond.goatcounter.com"
-      rel="noreferrer noopener"
-    >here</a>.
-  </span>
-</center>
-
 {{ partial "components/h-card.html" . }}
 
 <center class="web-ring">
   <a
-    data-goatcounter-click="cl-webring-prev"
     href="https://xn--sr8hvo.ws/%F0%9F%8E%B8%F0%9F%8D%8D%F0%9F%95%97/previous"
     target="_blank"
     rel="noreferrer noopener"
   >←</a>
     An
     <a
-      data-goatcounter-click="cl-webring-center"
       href="https://xn--sr8hvo.ws/"
       target="_blank"
       rel="noreferrer noopener"
     >IndieWeb Webring</a> 🕸💍
   <a
-    data-goatcounter-click="cl-webring-next"
     href="https://xn--sr8hvo.ws/%F0%9F%8E%B8%F0%9F%8D%8D%F0%9F%95%97/next"
     target="_blank"
     rel="noreferrer noopener"
diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html
@@ -18,10 +18,6 @@
 
 <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://ybbond.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
-<noscript>
-  <img src="https://ybbond.goatcounter.com/count?p=/test-img">
-</noscript>
 
 <style>
   {{ with resources.Get "styles.scss" | resources.ToCSS | resources.Minify }}