- groupArchive compared each post with the last group only, so two posts near midnight
at the end of a month, written with different offsets, listed the same month twice and
the build failed with "both published as". Posts are grouped by their own year and
month, newest first.
- {{news_archive}} is empty when there are no posts, so the index says there is no news
once, and the heading of an empty {{news_archive}} or {{categories_list}} goes with it.
- tests for exactly ten posts, eleven posts, a single post, a title with quotes, an
ampersand, a tag and non Latin letters, and a neighbour written in another language
Refs #9
The blog list, the pages of a category and the pages of an archive show every post as a
note panel: a small line with the long date and the categories, the title in bold with
a full stop (unless it ends with a full stop, a question mark or an exclamation mark),
the description and a read more link whose aria-label names the post. The page of a
post, {{news_list}} and the latest news of the home page are unchanged.
A language without read_more gets the title as the link on the category and archive
pages, as those pages worked before; the blog list still needs the string.
Refs #9
- {{news_blog}} lists the posts as entries (title, long date, categories,
description, a read more link) 10 to a page; the other pages are written under
the index, at page/2/, page/3/ and so on, with a pager.
- Archive pages for every year and month that has posts, at /news/2026/ and
/news/2026/11/, when templates/archive.html exists, and a {{news_archive}} block.
Refs #9