0d8e50cbe3
deploy / deploy (push) Successful in 6s
bookshop already supports this: ALLOWED_ORIGIN + CORS on POST
/arc/{code} exist specifically so a page on the brand's own domain can
call it cross-origin. There was no reason for bookshop to also render
the marketing/landing page itself — that put book copy inside a
generic, brand-agnostic Go template shared across every brand instead
of under normal editorial control like every other page on this site.
/books/neon-tan/ is now a plain Hugo page (content/books/neon-tan.md,
no longer draft-only/metadata-only — it's rendered for real via the new
layouts/books/single.html) with a small JS form
(layouts/partials/arc-redeem-form.html, mirroring the existing
course-enroll-form.html pattern) that POSTs form-encoded straight to
shop.michaelferrara.org/arc/neon-tan. bookshop's GET /arc/{code} page
rendering is no longer used for this campaign; only the POST redemption
and the download/Kindle/read/checkout endpoints still are.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
32 lines
632 B
TOML
32 lines
632 B
TOML
baseURL = "https://michaelferrara.org/"
|
|
locale = "en-US"
|
|
title = "Michael Ferrara"
|
|
|
|
enableRobotsTXT = true
|
|
buildDrafts = false
|
|
buildFuture = false
|
|
buildExpired = false
|
|
disableKinds = ["taxonomy", "term"]
|
|
|
|
[params]
|
|
env = "production"
|
|
description = "TODO: one-line author bio/description"
|
|
author = "Michael Ferrara"
|
|
eec_base_url = "https://eec.michaelferrara.org"
|
|
bookshop_base_url = "https://shop.michaelferrara.org"
|
|
|
|
[[menu.footer]]
|
|
name = "Contact"
|
|
url = "/contact/"
|
|
weight = 10
|
|
|
|
[[menu.footer]]
|
|
name = "Privacy"
|
|
url = "/privacy/"
|
|
weight = 20
|
|
|
|
[[menu.footer]]
|
|
name = "Terms"
|
|
url = "/terms/"
|
|
weight = 30
|