- 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
23 lines
665 B
JSON
23 lines
665 B
JSON
{
|
|
"lang": "fr",
|
|
"lang_name": "Français",
|
|
"header": "header-min",
|
|
"home_link": "/?lang=en",
|
|
"sections": "Sections",
|
|
"nojs": "Cette page n'utilise ni JavaScript, ni cookies, ni traceurs.",
|
|
"back": "kmalloc.org",
|
|
"version": "Version",
|
|
"toc": "Sommaire",
|
|
"nav": {
|
|
"manifesto": "Manifeste",
|
|
"news": "News"
|
|
},
|
|
"pages": {
|
|
"manifesto": {
|
|
"path": "/fr/manifesto.html",
|
|
"title": "kmalloc.org: Manifeste",
|
|
"description": "Le manifeste de kmalloc.org: logiciel libre, vie privée, un Internet ouvert, dignité au travail.",
|
|
"note": "Traduction de la version 1.0 à partir des textes anglais et italien."
|
|
}
|
|
}
|
|
}
|