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
This commit is contained in:
parent
8c3f4d29f7
commit
b0c6706a90
1 changed files with 578 additions and 24 deletions
|
|
@ -8,10 +8,10 @@ Sources of the kmalloc.org website: plain static HTML, no JavaScript, valid HTML
|
|||
- `templates/` holds the page chrome: `base.html`, `header.html`, `footer.html` and a few small fragments.
|
||||
- `static/style.css` is the one stylesheet, inlined into every page.
|
||||
- `content/site.toml` holds the values shared by every page: contact address, Bitcoin address, manifesto version.
|
||||
- `content/<lang>/lang.toml` holds the chrome strings of one language (`en`, `it`).
|
||||
- `content/<lang>/lang.toml` holds the chrome strings of one language (`en`, `it`, `es`, `de`, `fr`). Spanish, German and French have the manifesto only and use the short header (`templates/header-min.html`).
|
||||
- `content/<lang>/*.html` are the pages: a front matter block, then an HTML fragment.
|
||||
- `content/en/news/` holds the news posts. News are written in English only.
|
||||
- `MANIFESTO.en.md` and `MANIFESTO.it.md` are the manifesto texts, version 1.0.
|
||||
- `MANIFESTO.en.md` and `MANIFESTO.it.md` are the manifesto texts, version 1.0. `MANIFESTO.es.md`, `MANIFESTO.de.md` and `MANIFESTO.fr.md` are translations of it.
|
||||
- `fonts/terminess.woff2` is Terminess (Terminus), SIL Open Font License, subset to Latin.
|
||||
- `badges/` holds the official W3C badges, served from our own site.
|
||||
- `logo/` holds the shrike logo: SVG and PNG exports, `build_logo.py`, the original PNG and the favicons in `logo/web/`.
|
||||
|
|
@ -29,7 +29,7 @@ A page starts with a front matter block, then the HTML fragment:
|
|||
---
|
||||
<h1>People</h1>
|
||||
|
||||
`id` pairs a page with its translation, `nav` is the menu entry to highlight. Placeholders such as `{{contact_shown}}` or `{{url_news}}` are replaced at build time, and an unknown placeholder stops the build.
|
||||
`id` pairs a page with its translations, `nav` is the menu entry to highlight. The language links in the header list every other language that has a page with the same `id`. Placeholders such as `{{contact_shown}}` or `{{url_news}}` are replaced at build time, and an unknown placeholder stops the build.
|
||||
|
||||
## News
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue