redesign: one rail for all subpages + article cover field #18

Merged
michalvankodev merged 2 commits from redesign/09-rails-and-covers into redesign/00-foundation 2026-09-10 16:00:38 +02:00

What

  • One content rail: the max-w-image container moves into base.html (overridable page_container block). Blog/broadcasts (was uncapped w-fit), contact (was max-w-read), showcase, portfolio and 404 all inherit the masthead rail now; index, blog_post and egg-fetcher opt out via page_container.
  • Further reading: heading + rule span exactly the preview-list width (shared w-fit wrapper), homepage section-header style.
  • Per-post cover field: BlogPostMetadata gains a Cover enum — cover: (explicit, may differ from thumbnail), cover: false (no article cover), omitted = thumbnail fallback. Unit tests included. Applied cover: false to Letter for Daniel, Lovely London Trip and Rusty jam Weekly #25 (their bodies already embed the images).
  • Dev workflow fix while testing: none needed in repo — tailwind watcher quirk (stdin) was session-local.
## What - **One content rail**: the max-w-image container moves into base.html (overridable page_container block). Blog/broadcasts (was uncapped w-fit), contact (was max-w-read), showcase, portfolio and 404 all inherit the masthead rail now; index, blog_post and egg-fetcher opt out via page_container. - **Further reading**: heading + rule span exactly the preview-list width (shared w-fit wrapper), homepage section-header style. - **Per-post cover field**: BlogPostMetadata gains a Cover enum — cover: <path> (explicit, may differ from thumbnail), cover: false (no article cover), omitted = thumbnail fallback. Unit tests included. Applied cover: false to Letter for Daniel, Lovely London Trip and Rusty jam Weekly #25 (their bodies already embed the images). - Dev workflow fix while testing: none needed in repo — tailwind watcher quirk (stdin) was session-local.
Container moves into base.html (overridable page_container block) so
every standard page inherits the same max-w-image rail as the masthead
nav — blog/broadcasts (previously uncapped w-fit), contact (was
max-w-read), showcase, portfolio, 404. Custom layouts (index, blog_post,
egg_fetcher) opt out by overriding page_container.
redesign: further-reading header spans its list; per-post cover field
All checks were successful
preview / preview hostname (push) Successful in 0s
preview / build + deploy preview (push) Has been skipped
preview / teardown preview (push) Has been skipped
test / cargo test (push) Successful in 53s
preview / preview hostname (pull_request) Successful in 0s
preview / build + deploy preview (pull_request) Has been skipped
preview / teardown preview (pull_request) Successful in 0s
97e8486de9
- further reading: heading + its rule share a w-fit wrapper with the
  preview list, so both span exactly the content width (same macro style
  as the homepage section headers)
- Cover enum in BlogPostMetadata: cover: <path> (explicit image, may
  differ from thumbnail), cover: false (no article cover; thumbnail
  still feeds listings + og:image), omitted = thumbnail fallback
- cover: false on Letter for Daniel, Lovely London Trip, Rusty jam
  Weekly #25 — their bodies already show the image

🪦 Live preview

removed (PR closed)

<!-- preview-link --> ## 🪦 Live preview removed (PR closed)
michalvankodev merged commit 8dc77295b6 into redesign/00-foundation 2026-09-10 16:00:38 +02:00
michalvankodev deleted branch redesign/09-rails-and-covers 2026-09-10 16:00:38 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
michalvankodev/michalvankodev-site!18
No description provided.