added cloudflare analytics to footer

This commit is contained in:
Glenn 2021-02-13 17:11:02 +10:00
parent 0e848190e7
commit b780a38ee5
3 changed files with 12 additions and 1 deletions

View File

@ -32,6 +32,7 @@ theme = "stip"
title = "Mastodon"
url = "https://caffeinated.social/glenn"
# [[params.links]]
# iconset = "fas"
# icon = "envelope"

View File

@ -0,0 +1,6 @@
<div class="footer">
{{ i18n "generator" | safeHTML }}
<!-- Cloudflare Web Analytics -->
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "f307d30514fe415db0aaefd205fa7c46"}'></script>
<!-- End Cloudflare Web Analytics -->
</div>

View File

@ -54,7 +54,11 @@
<span class="fas fa-blog"></span>
</a></div><div class="footer">
Made with <a href='https://gohugo.io'>Hugo</a> using the <a href='https://github.com/EmielH/stip-hugo/'>Stip</a> theme.
</div></div>
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "f307d30514fe415db0aaefd205fa7c46"}'></script>
</div>
</div>
</main>