Skip to content

Use design-system-base layout for blog and events pages#3

Merged
stefan-burke merged 2 commits into
mainfrom
claude/build-design-system-pages-l6cC8
May 7, 2026
Merged

Use design-system-base layout for blog and events pages#3
stefan-burke merged 2 commits into
mainfrom
claude/build-design-system-pages-l6cC8

Conversation

@stefan-burke
Copy link
Copy Markdown
Member

Summary

The build was failing because the latest chobble-template removed the legacy news-archive.html and item.html layouts (replaced by design-system-base.html + blocks), and because the chobble-template submodule was being copied into the build's src/ tree where its filter pages were tripping the unregistered-collection validator.

  • Migrated pages/blog.md from news-archive.html to design-system-base.html, moving the intro into a markdown block and adding an items block for the news collection.
  • Added _layouts/item.html that wraps design-system-base.html and renders event metadata (title, subtitle, date, location) plus the markdown body, mirroring the existing _layouts/news-post.html pattern.
  • Added chobble-template to rootExcludes in scripts/prepare-dev.js so the submodule (only needed for the file: toolkit dep) isn't synced into .build/dev/src/, where its filtered-products/filtered-properties templates were referencing collections that aren't registered for this site.

Test plan

  • bun run build completes successfully and writes _site/
  • _site/blog/index.html renders the Button Kin Times intro and news listing
  • _site/events/placeholder-online-game/index.html renders title, date, location, and body content using the design-system bundle
  • Spot-check the live preview in a browser

https://claude.ai/code/session_015B9tTjuZkaz7YMmgxu3knM


Generated by Claude Code

claude added 2 commits May 7, 2026 12:05
The chobble-template removed the legacy news-archive.html and item.html
layouts in favour of design-system-base.html with blocks. Migrate the
blog index to use the design-system-base layout with markdown + items
blocks, and override item.html locally so event pages render through
design-system-base while keeping their existing markdown bodies. Also
exclude the chobble-template submodule from the build sync so its
filter pages don't get validated against unregistered collections.
Drop the bespoke _layouts/item.html shim and have every event use
design-system-base.html directly via blocks. Each event now declares
event-header (auto-renders title/subtitle/date/location/iCal),
markdown for the body copy, and link-button for the back-link to the
events index. Also bump the chobble-template submodule to pick up the
event-* design-system blocks referenced here.
@stefan-burke stefan-burke merged commit 115e188 into main May 7, 2026
4 checks passed
@stefan-burke stefan-burke deleted the claude/build-design-system-pages-l6cC8 branch May 7, 2026 13:00
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