Count visits with GoatCounter, as the blog does
Both pages load the blog's GoatCounter site code. Paths are prefixed with the host so this site's pages stay separate from the blog's in the dashboard. The Green Man page gets the lines from build_web.py. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
94871348df
commit
833440f254
5 files changed
+11
-1
No files matched your search
@@ -10,6 +10,10 @@ DESCRIPTION = 'A half-mask of oak leaves, acorns and bark, built to be worn with
|
||||
OG_DESCRIPTION = 'A half-mask of oak leaves, acorns and bark, built to be worn with glasses. Everything you need to make your own.'
|
||||
OG_ALT = 'A Green Man half-mask worn with glasses: a crown of painted oak leaves above a bark brow ridge, with acorns at the temples and a leaf over the nose.'
|
||||
|
||||
# The same GoatCounter site as the blog. Paths are prefixed with the host so this site's pages do not merge with the blog's.
|
||||
ANALYTICS = '''<script>window.goatcounter = {path: function(p) { return location.host + p }}</script>
|
||||
<script data-goatcounter="https://kestrelsnest.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>'''
|
||||
|
||||
CSS = '''
|
||||
/* Same ink, bone and gold as the builds index and Kestrel's Hall, and the same serif. Drawings stay on light paper with sans labels.
|
||||
layout: one reading column of guide text; each step is a drawing beside its instructions, stacking on phones */
|
||||
@@ -102,6 +106,7 @@ def build(out=str(OUT / 'index.html')):
|
||||
<meta property="og:image:alt" content="{OG_ALT}">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="theme-color" content="#14181a">
|
||||
{ANALYTICS}
|
||||
<style>{CSS}</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in new issue
Block a user