[MTM] Hide draft articles from the front page and mark drafts when viewed directly #141

Merged
jonny merged 1 commit from develop into main 2026-09-26 17:31:03 +02:00
Owner
No description provided.
Add an Article::published() scope and use it on the front page (which
previously showed drafts), the /blog listing and the feeds. Draft
articles are still reachable at their URL, but now show a draft notice,
a "[Draft]" title prefix and a noindex robots meta tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonny merged commit 9c75e66cbb into main 2026-09-26 17:31:03 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
jonny/jonnybarnes.uk!141
No description provided.