Same fix as michaelferrara-site: bookshop's GET /arc/{code} renders a
generic, brand-agnostic template ("Get your free copy of A Hallmark
Grinchmas") instead of real editorial copy. bookshop already supports
same-origin form POSTs to its path-mounted /shop/arc/{code} — no reason
for it to also own the landing page.
/books/grinchmas/ is a plain Hugo page (content/books/grinchmas.md, no
longer draft-only) with a small JS form (layouts/partials/arc-redeem-
form.html, mirroring course-enroll-form.html) that POSTs form-encoded
to bookshop_base_url + "/arc/grinchmas". Retires content/gift,
content/gift-thanks, and content/free-book — all unfinished TODO stubs
that were live on the site with placeholder copy, never completed.
Copy note: no finished pitch copy existed anywhere for this campaign
(unlike Neon Tan) — this page currently uses the book's back-cover
blurb as placeholder pitch text per your instruction; refine whenever.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
--color-ink stayed dark in the dark-mode override (correct for text on
--color-bg-raised, which deliberately stays light parchment) while
--color-bg went dark — so body text, headings, and secondary text all
rendered dark-on-dark. Splits out --color-ink-on-raised for the
raised-surface case (blockquote/code/pre/input, unchanged) and flips
--color-ink/--color-ink-heading/--color-ink-soft to light for the
base-page-ground case. Verified against a local Hugo build in a
dark-mode browser, including that raised-surface elements (inline code)
kept their correct dark-on-light contrast.
Publishes a second, non-fingerprinted copy of main.css at /css/main.min.css
alongside the fingerprinted one the site itself links — same source
resource, so bookshop's ARC/download pages (now mounted at
thistleandmoth.org/shop, not shop.thistleandmoth.org) can link real,
always-current CSS without tracking a hash that changes on every deploy.
Updates the two remaining shop.thistleandmoth.org references to the new
canonical URL.
Marked draft so it doesn't render live yet -- this site has no
books layout/section wired up. For now this is just the canonical,
git-reviewable source for the book's title/author/cover/logline,
read by reground-tools/arc-campaign.sh --from-file to populate the
bookshop giveaway campaign, instead of typing that metadata inline
on the command line.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
bookshop_base_url param wires up the same shop.thistleandmoth.org
bookshop instance reground-infrastructure just provisioned
(giveaway-only for now, no Stripe account). Both pages are stubs --
Contributors has no content yet, and Free Book's link/title/code get
filled in once the real epub is uploaded and its ARC campaign created
(see reground-tools' arc-campaign.sh). The ARC redemption page itself
is fully self-hosted by the bookshop service, so no checkout/Stripe.js
template work is needed here for the giveaway to work.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Fleet-wide change: CI now builds the site in an isolated container and
pushes output via rsync to a forced-command SSH key restricted (via
rrsync) to this site's own docroot only, instead of relying on the
shared Actions runner's blanket /var/www/** bind-mount capability. See
the static-site-deploy Ansible role in reground-infrastructure.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Replaces the inherited oxblood/brass palette (leftover from scaffolding
off michaelferrara-site) with the actual Thistle & Moth scheme: an
emerald banner with ivory text, cobalt for links/accents, parchment/ink
for the reading surface, and gold/thistle as sparing ornamental accents.
Adds a dark-mode variant (prefers-color-scheme) — the same page read by
lamplight rather than daylight. Fonts unchanged (EB Garamond/Source
Serif 4/Inter were already right).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Mirrors twosquirrelspress-site's submissions form and
michaelferrara-site's gift/course-enroll pattern. Gift page content,
cover art, and the download file are stubs until the real
reader-magnet is ready.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>