Add the Green Man generator and restyle its page to match the index
greenman-src/ holds the kit source; uv run build.py there rewrites greenman/. deploy skips *-src/. The page now uses the index's ink, bone and gold with the same serif, and no longer loads web fonts. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GrX9qMoNihcWLX3xoJhabw
This commit is contained in:
1 parent
a7c04e5cb7
commit
9c3c361858
59 files changed
+1640
-41
No files matched your search
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
||||
|
||||
## Project Overview
|
||||
|
||||
Kestrel's Builds is a static site of craft build write-ups. Builds vary (foam and printed parts, paint techniques, sewing, electronics), so each one ships a guide plus whatever files that project needs. The index must not promise templates or print files for every build. There is no build step and no backend.
|
||||
Kestrel's Builds is a static site of craft build write-ups. Builds vary (foam and printed parts, paint techniques, sewing, electronics), so each one ships a guide plus whatever files that project needs. The index must not promise templates or print files for every build. The site itself is static with no backend. A build's page may be generated from a source folder (`<build>-src/`), which lives in this repo but is never deployed.
|
||||
|
||||
**Live URL:** https://builds.kestrelsnest.social
|
||||
|
||||
@@ -15,7 +15,9 @@ Kestrel's Builds is a static site of craft build write-ups. Builds vary (foam an
|
||||
- `favicon.svg` - Icon shared by every page
|
||||
- `deploy` - Rsync deployment script
|
||||
- `<build>/` - One folder per build, self-contained: `index.html`, `img/`, `dl/`
|
||||
- `greenman/` - Green Man mask
|
||||
- `greenman/` - Green Man mask (generated; do not edit by hand)
|
||||
- `<build>-src/` - Generator for a build whose page is generated. Excluded from deploy by the `*-src/` rule.
|
||||
- `greenman-src/` - Green Man kit source; see its `README.md`
|
||||
|
||||
## Conventions
|
||||
|
||||
@@ -23,7 +25,8 @@ Kestrel's Builds is a static site of craft build write-ups. Builds vary (foam an
|
||||
- The index is a sister page to Kestrel's Hall (gamehall.kestrelsnest.social): the same dark ink / bone / gold tokens, the same serif stack, the same card and section structure. Keep them in step.
|
||||
- Every build page links back to the index with `<a href="../">` at its top and bottom (`.home` in `greenman/index.html`).
|
||||
- Downloads live in `<build>/dl/`. Zip files there are part of the site, so `*.zip` is deliberately NOT in `.gitignore`.
|
||||
- `greenman/index.html` is generated from the mask kit's own source (not in this repo). Hand edits to it are lost when the kit is regenerated; change the source and re-copy, then re-add the two `.home` back links, their CSS and the `<link rel="icon" href="../favicon.svg">` line and the description, canonical and Open Graph tags in its head.
|
||||
- Everything in `greenman/` is generated by `greenman-src/`: run `uv run build.py` there and it rewrites `greenman/index.html`, `img/`, `dl/` and `og-image.jpg`. Never hand-edit `greenman/`; change the source and rebuild. The back links, favicon line, description and Open Graph tags are all written by `greenman-src/build_web.py`.
|
||||
- `deploy` must never upload a generator. Any new source folder must be named `<build>-src/` so the existing exclude covers it; check with `./deploy -n`.
|
||||
- Share previews: `og.png` at the root is a 1200x630 screenshot of the top of the index, so retake it when the index's first card changes. Each build has its own `og-image.jpg` (1200x630) in its folder and its own description and Open Graph tags.
|
||||
|
||||
## Adding a build
|
||||
|
||||
Reference in new issue
Block a user