Templates and strings for the blog features of the next motorino: a post page with
the long date, author, categories, summary, reading time and links to the older
and newer posts, the blog list with pages and the archive on the news index, Open
Graph article meta, month names and the interface strings in the five languages,
the author and the language of the news in site.json, and the styles.
Needs the motorino release that adds these features (.motorino-version is not
changed here).
The site is built by motorino. The manifesto texts live in content/, the
migration and comparison tools did their job, and build.py is gone. Add the
list of the categories to the news page, rewrite the README for the new layout
and update the licence file to name the new folders.
Pages are Markdown files in content/<lang>/ with a Key: value header, the
news carry Title, Author, Date, Categories and Description and are published
as /news/YYYY/MM/name.html, with a page for every category. The templates, the
language files and site.json shrink to the chrome and the shared strings, and
the footer credits motorino. The output matches the one of build.py page by
page, checked with tools/compare.py and the Nu HTML Checker.
- move the texts of each language into lang/<lang>.json and the shared data into site.json
- replace the per-language HTML fragments with one template per page type in templates/pages
- add templates/parts for the repeated service and person blocks
- move the news posts to news/
- a language lists only the pages it has, so adding one is a single file
- the generated pages are unchanged
- update the README
- templates/ holds the page chrome (base, header, footer, badges, leads)
- content/<lang>/ holds pages as HTML fragments with front matter and the chrome strings
- content/site.toml holds shared values (contact, Bitcoin address, manifesto version)
- static/style.css replaces the CSS embedded in the script
- add news: Markdown posts in content/<lang>/news/, index page, latest posts on the home page
- add [text](url) links and `code` to the Markdown renderer
- copy favicons from logo/web so a fresh clone builds the whole site
- build.py now uses the standard library only and fails on unknown placeholders