Commit graph kmalloc.org/templates/base.html
Author SHA1 Message Date
d2f9bba46b feat: move the pages to Markdown and the news to the dated layout
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.
2026-11-15 09:58:10 +01:00
b13aa17dff feat: add a rel=me link to the Mastodon profile in the head of every page
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
2026-11-14 20:12:26 +01:00
944c498d78 feat: rust Dissent in the hero, shrike mark in the header and link preview metadata
- 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)
2026-11-14 11:08:38 +01:00
f21bd75ad8 feat: add data, funds, rules of use and history pages
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.
2026-11-13 12:40:07 +01:00
7bc7b8789f feat: add an RSS 2.0 feed for the news
- 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
2026-11-12 18:41:38 +01:00
c8b7b6a571 refactor: split the site generator into templates and content, add news
- 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
2026-11-12 18:34:55 +01:00