Add a series index page listing all series with abstracts - #28
Merged
Merged
Conversation
Per feedback on the initial series feature: series entries should render through a real template (like blog-post-abstract does for posts) instead of hardcoded Smalltalk HTML, and multiple series in a listing should sort by recency rather than alphabetically, matching how the blog overview itself already orders posts. - FOSeries gained website/abstractLayout/abstractTemplate/renderAbstract, mirroring FOBlogPost's own abstract-rendering shape - renders through a new 'series-abstract' template (companion change in noha.github.io) via the new FOSeriesRenderContext (title/pathString/abstract/partCount). - FOSeries>>abstract reuses the first (reading-order) post's own already- truncated abstract text - same zero-config reasoning as titleFromSlug:. - FOBlog>>series now sorts by each series' most recent post's publishDate descending (posts are stored reading-order-ascending, so that's simply the last one), not alphabetically by slug - alphabetical was only ever meant for deterministic per-series-file generation, not as a real reading order for a listing of multiple series. - FOSeriesIndexBuilder builds one page concatenating every series' rendered abstract, same bodyHtml/outer-template approach as FOBlogOverviewBuilder/FOSeriesOverviewBuilder. - FOPublisher>>publish inserts it at blog/series/index.html, alongside the existing per-series overview pages. Verified against the real noha.github.io content: blog/series/index.html lists the "soil" series with the correct link, first-post abstract, and part count. Multi-series ordering (recency, not alphabetical) is only exercised by synthetic tests so far, since real content currently has just one series.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Per feedback on the initial series feature: series entries should render through a real template (like blog-post-abstract does for posts) instead of hardcoded Smalltalk HTML, and multiple series in a listing should sort by recency rather than alphabetically, matching how the blog overview itself already orders posts.
Verified against the real noha.github.io content: blog/series/index.html lists the "soil" series with the correct link, first-post abstract, and part count. Multi-series ordering (recency, not alphabetical) is only exercised by synthetic tests so far, since real content currently has just one series.