added goatcounter

This commit is contained in:
onomanapeia 2024-12-23 20:54:23 -06:00
parent 82f2ae984e
commit cd1a331b5e
3 changed files with 18 additions and 12 deletions

View file

@ -7,6 +7,7 @@
<link rel="stylesheet" id="switcher-id">
<link rel="icon" href="/img/favicon.ico" type="image/x-icon" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
<script src="/theme.js"></script>
</head>
<body>
{% include layout/sidebar.html %}
@ -21,9 +22,10 @@
</div>
{{ content }}
</article>
<script src="/profile.js" defer></script>
<script src="https://unpkg.com/@phosphor-icons/web"></script>
<script src="/menu.js" defer></script>
<script data-goatcounter="https://peachmoon.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
</body>
<script src="/profile.js" defer></script>
<script src="https://unpkg.com/@phosphor-icons/web"></script>
<script src="/theme.js" defer></script>
<script src="/menu.js" defer></script>
</html>

View file

@ -7,6 +7,7 @@
<link rel="stylesheet" id="switcher-id">
<link rel="icon" href="/img/favicon.ico" type="image/x-icon" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
<script src="/theme.js"></script>
</head>
<body>
{% include layout/sidebar.html %}
@ -49,13 +50,14 @@
<i class="ph ph-arrow-line-up"></i></a>
</footer>
{% endif %}
<script src="/profile.js" defer></script>
<script src="https://unpkg.com/@phosphor-icons/web"></script>
<script src="/menu.js" defer></script>
{% if page.url contains "now"%}
<script src="/scrobble.js" defer></script>
<script src="https://status.cafe/current-status.js?name=mana" defer></script>
<script data-goatcounter="https://peachmoon.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
{% endif %}
</body>
<script src="/profile.js" defer></script>
<script src="https://unpkg.com/@phosphor-icons/web"></script>
<script src="/theme.js" defer></script>
<script src="/menu.js" defer></script>
{% if page.url contains "now"%}
<script src="/scrobble.js" defer></script>
<script src="https://status.cafe/current-status.js?name=mana" defer></script>
{% endif %}
</html>

View file

@ -57,4 +57,6 @@
<script src="/scrobble.js" defer></script>
<script src="https://status.cafe/current-status.js?name=mana" defer></script>
{% endif %}
<script data-goatcounter="https://peachmoon.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
</html>