Skip to content

Add a Journal (blog) to the restaurant demo - #19

Merged
DanMat merged 1 commit into
masterfrom
feat/journal-blog
Sep 8, 2026
Merged

DanMat merged 1 commit into
masterfrom
feat/journal-blog

Conversation

@DanMat

@DanMat DanMat commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Showcases the official Blog plugin inside the restaurant demo as The Copper Table Journal.

  • Seed: a blog collection + three restaurant journal posts (spring menu, sourcing, online ordering).
  • Theme: collection-blog.php (Journal index) + entry-blog.php (post detail, with a small escape-first Markdown subset rendered in-theme — the image ships no Markdown plugin), a Journal nav link, and journal/prose styles matching the dark/gold/serif theme.
  • Head: layout.php defers its own canonical/OG on /blog and /tag pages, where the Blog plugin owns the full <head>, so those tags aren't emitted twice.

The Blog plugin is added to the site image and the golden snapshot regenerated as part of deploy.

🤖 Generated with Claude Code

Adds the official Blog plugin's `blog` collection to the demo as "The Copper
Table Journal", so the restaurant demo also showcases the blog plugin:

- seed-demo.php seeds a `blog` collection (summary/body/cover/tags/canonical_url)
  and three restaurant journal posts (spring menu, sourcing, online ordering).
- theme: collection-blog.php (the Journal index) and entry-blog.php (a post,
  with a small escape-first Markdown subset rendered in-theme since the image
  ships no Markdown plugin); a Journal nav link; journal + prose styles matching
  the dark/gold/serif theme.
- layout.php defers its own canonical/OG on /blog and /tag pages, where the Blog
  plugin contributes the full head, so those tags aren't emitted twice.

The Blog plugin itself is added to the site image separately (deploy).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@DanMat
DanMat merged commit 9bf449d into master Sep 8, 2026
2 checks passed
@DanMat
DanMat deleted the feat/journal-blog branch September 8, 2026 02:52
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.

1 participant