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).
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.
Mastodon verifies a profile link when the target page links back to the
profile with rel=me. A link element in the head is invisible. The address is
mastodon_url in site.json.
Closes#3
- the last line of the home motto is set in the accent colour, as in the logo
- the header of every page starts with the small shrike mark
- og:* and twitter:card meta tags with a 1200x630 preview image (og.png)
Add the manifesto changelog, a data and retention table, a costs section, rules of use with sanctions and inactive accounts, a note on automatic translations, the CC BY-SA 4.0 licence, and index only the home page and the manifesto.
- build /news/feed.xml and /it/news/feed.xml with the latest 20 posts, full text and absolute links
- add the feed autodiscovery link to every page and a visible link on the news pages
- document the feed in 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