M soupault.conf => soupault.conf +8 -0
@@ 168,3 168,11 @@
widget = "preprocess_element"
selector = '*[class^="language-"]'
command = 'highlight -O html -f --syntax=$(echo $ATTR_CLASS | sed -e "s/language-//")'
+
+[widgets.tracking-js]
+ profile = "live"
+ after = "source-link"
+ widget = "insert_html"
+ html = '<script data-goatcounter="https://stats.hristos.co/count" async src="//stats.hristos.co/count.js"></script>'
+ selector = "body"
+ parse = true
M templates/main.html => templates/main.html +0 -1
@@ 60,6 60,5 @@
</footer>
<div id="timestamp" class="center" title="A last modified timestamp derived from git.">This page was last modified on: <span id="git-timestamp"></span></div>
<div id="source-link"></div>
- <script data-goatcounter="https://stats.hristos.co/count" async src="//stats.hristos.co/count.js"></script>
</body>
</html>