- 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
678 B
JSON
23 lines
678 B
JSON
{
|
|
"lang": "es",
|
|
"lang_name": "Español",
|
|
"header": "header-min",
|
|
"home_link": "/?lang=en",
|
|
"sections": "Secciones",
|
|
"nojs": "Esta página no usa JavaScript, cookies ni rastreadores.",
|
|
"back": "kmalloc.org",
|
|
"version": "Versión",
|
|
"toc": "Índice",
|
|
"nav": {
|
|
"manifesto": "Manifiesto",
|
|
"news": "News"
|
|
},
|
|
"pages": {
|
|
"manifesto": {
|
|
"path": "/es/manifesto.html",
|
|
"title": "kmalloc.org: Manifiesto",
|
|
"description": "El manifiesto de kmalloc.org: software libre, privacidad, una Internet abierta, dignidad en el trabajo.",
|
|
"note": "Traducción de la versión 1.0 a partir de los textos en inglés y en italiano."
|
|
}
|
|
}
|
|
}
|