Commit graph kmalloc.org/templates
Author SHA1 Message Date
21103486f8 refactor: keep every text in one JSON file per language
- 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
2026-11-12 19:59:56 +01:00
b0c6706a90 feat: add the manifesto in Spanish, German and French
- add MANIFESTO.es.md, MANIFESTO.de.md and MANIFESTO.fr.md, translated from version 1.0
- publish them at /es/, /de/ and /fr/ with a short header and a translation note
- list every translation in the language links of the header
- point all language versions at each other with hreflang alternates
- keep news and the other pages in English and Italian only
2026-11-12 19:54:17 +01:00
1b81184187 fix: show the RSS icon and the W3C badges on one line at the same height
- move the RSS icon inside the badges paragraph
- scale every footer icon to 32 px high
- lay the badges out in a flex row
2026-11-12 18:45:58 +01:00
8270863f9f feat: add the RSS icon to the footer and make the news English only
- show the RSS icon in every footer, linked to /news/feed.xml
- write news in English only: the Italian pages list the same posts and link to them
- build a single feed instead of one per language
- send the language switch of the news pages to the home page of the other language
- document the English-only news in the README
2026-11-12 18:45:16 +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