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:
Eric WagonerandClaude Fable 5.2 committed 2026-11-10 19:50:05 -05:00
1 parent 94871348df
commit 833440f254
5 files changed
+11 -1

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ greenman-src/ - Generator for everything in greenman/ (not deployed); see it
1. Make a folder for it, named in lowercase with no spaces (`greenman`, `atompunk`). Put its page at `<folder>/index.html`, with its images and downloads inside the folder so its links stay relative.
2. In the top-level `index.html`, copy an `<a class="build">` card to the top of the list and change the link, image, alt text, title and the three lines of text. The newest build carries the extra class `first`, which gives it the full-width card; take `first` off the one it replaces. Card images are cropped to fit, so set `object-position` for the new image as `.greenman` does.
3. Give the new build's page a link back to the index, as `greenman/index.html` has at its top and bottom: `<a href="../">← Kestrel's Builds</a>`.
4. In the page's head, link the shared icon (`<link rel="icon" href="../favicon.svg">`) and add its own description, canonical and Open Graph tags. Its share image is a 1200 x 630 `og-image.jpg` in the build's folder.
4. In the page's head, link the shared icon (`<link rel="icon" href="../favicon.svg">`) and add its own description, canonical and Open Graph tags, and the two GoatCounter lines from the index's head. Its share image is a 1200 x 630 `og-image.jpg` in the build's folder.
5. Retake `og.png`, a 1200 x 630 screenshot of the top of the index, since the first card has changed.
6. Run `./deploy -n` to check what will be uploaded, then `./deploy`.