Skip to content

Convert threads to a collection#20

Merged
cb341 merged 4 commits into
mainfrom
feature/threads-refactoring
Jun 12, 2026
Merged

Convert threads to a collection#20
cb341 merged 4 commits into
mainfrom
feature/threads-refactoring

Conversation

@cb341

@cb341 cb341 commented Jun 12, 2026

Copy link
Copy Markdown
Owner

One file per entry in _threads/; /threads/ and the RSS feed loop over site.threads instead of string-splitting one big markdown page. Replaces the threads_feedback.rb plugin (the page emits feedback links itself) and adds a month-grouped TOC with entry teasers. Heading anchors and feed GUIDs are unchanged.

cb341 and others added 2 commits June 12, 2026 18:38
One file per entry in _threads/; /threads/ and the RSS feed loop over
site.threads instead of string-splitting one big markdown page. Replaces
the threads_feedback.rb plugin (the page emits feedback links itself)
and adds a month-grouped TOC with entry teasers. Heading anchors and
feed GUIDs are unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Trailing sentence punctuation is stripped first so truncation never
renders as '....'.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Comment thread _threads/2026-05-10.md Outdated
Comment on lines +1 to +4
---
title: "10.05.2026"
date: 2026-05-10
---

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

derive default

Suggested change
---
title: "10.05.2026"
date: 2026-05-10
---

cb341 and others added 2 commits June 12, 2026 19:09
threads_defaults.rb derives date from the YYYY-MM-DD filename prefix and
title from the date; front matter overrides both (the three suffixed
11.05 entries keep theirs). Plain entries need no front matter. Also
shrinks the TOC styling to two rules.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Jekyll reads front-matter-less collection files as static files;
threads_defaults.rb now promotes them to documents before applying the
filename-derived date/title defaults. A new entry is just a markdown
file named YYYY-MM-DD.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cb341 cb341 marked this pull request as ready for review June 12, 2026 17:25
@cb341 cb341 self-assigned this Jun 12, 2026
@cb341 cb341 merged commit e51e566 into main Jun 12, 2026
2 checks passed
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