Skip to content

Static site (1): Eleventy scaffold, data layer, and first theme - #75

Merged
jposluns merged 1 commit into
mainfrom
claude/site-scaffold
Jul 7, 2026
Merged

Static site (1): Eleventy scaffold, data layer, and first theme#75
jposluns merged 1 commit into
mainfrom
claude/site-scaffold

Conversation

@jposluns

@jposluns jposluns commented Jul 7, 2026

Copy link
Copy Markdown
Owner

First PR of the static-site phase (ADR 0003, now Accepted with your four decisions recorded). Generates a recipe-blog website from the existing Markdown. Nothing deploys yet; this adds source files only.

What is here

  • Data layer (site/_lib/load.js). Reads recipes/<category>/<slug>/index.md, parses frontmatter, and renders each body to HTML. It only reads; the Markdown stays the single source of truth. It strips the page H1 and the repo breadcrumb line, and rewrites cross-recipe index.md links to directory URLs.
  • Pages. Landing page led by the biscotti feature image; an all-recipes index; a page per category; a page per recipe (photo, ingredients, method, tags, source link); and a tag index.
  • Theme (site/assets/style.css). A light, warm recipe-blog look in the spirit of blimacake.com, responsive, no external fonts or assets.
  • Build (eleventy.config.js, package.json). Eleventy 3 with gray-matter and markdown-it. _site/ and node_modules/ are git-ignored; package-lock.json is committed for reproducible builds.

Decisions recorded in ADR 0003

Domain github.blimacake.com (apex redirect later); Pagefind search; light custom theme with a feature-image landing; no analytics or comments; generator Eleventy.

Verified locally

  • 487 recipe pages and 16 category pages build cleanly.
  • All referenced photos copy across every extension in use (jpg, png, webp, avif, gif); 0 referenced images missing.
  • 0 broken internal links across all recipe pages.
  • Rendered the landing, a recipe, a category page, and mobile in Chromium; all correct.
  • No cook-from value touched; dash guard clean; markdownlint clean.

Follows in later PRs

Pagefind search, SEO/JSON-LD (Recipe structured data), and the GitHub Pages deploy workflow with the github.blimacake.com CNAME. Internal cross-links already resolve; deploy is gated on the repo going public and Pages being enabled.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis


Generated by Claude Code

Generate a recipe-blog website from the existing Markdown (ADR 0003).
site/_lib/load.js reads recipes (never writes) and renders bodies; the
build is a view over the source of truth. Includes a landing page led by
the biscotti feature image, category pages, per-recipe pages, and a tag
index, with a light warm theme. Adds eleventy.config.js, package.json
(Eleventy, gray-matter, markdown-it), and ignores _site/.

Verified: 487 recipe pages + 16 category pages build; all referenced
photos copy (jpg/png/webp/avif/gif); 0 broken internal links. Search,
SEO, and the Pages deploy workflow follow in later PRs.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis
@jposluns
jposluns merged commit afb925f into main Jul 7, 2026
4 checks passed
@jposluns
jposluns deleted the claude/site-scaffold branch July 7, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants