Static site (1): Eleventy scaffold, data layer, and first theme - #75
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
site/_lib/load.js). Readsrecipes/<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-recipeindex.mdlinks to directory URLs.site/assets/style.css). A light, warm recipe-blog look in the spirit of blimacake.com, responsive, no external fonts or assets.eleventy.config.js,package.json). Eleventy 3 with gray-matter and markdown-it._site/andnode_modules/are git-ignored;package-lock.jsonis 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
Follows in later PRs
Pagefind search, SEO/JSON-LD (Recipe structured data), and the GitHub Pages deploy workflow with the
github.blimacake.comCNAME. 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