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.
This commit is contained in:
parent
e0607bbda3
commit
d2f9bba46b
1 changed files with 1518 additions and 896 deletions
84
site.json
84
site.json
|
|
@ -17,72 +17,24 @@
|
|||
"btc": "bc1qsj5qadrzlqmfwcru4fwuqvftg833te5f9mja2c",
|
||||
"shop_url": "https://kmalloc.myspreadshop.it/",
|
||||
"mastodon_url": "https://social.kmalloc.org/@squid",
|
||||
"home_order": [
|
||||
"git",
|
||||
"social",
|
||||
"lists",
|
||||
"chat",
|
||||
"matrix",
|
||||
"meet",
|
||||
"mail"
|
||||
],
|
||||
"services": [
|
||||
{
|
||||
"id": "mail",
|
||||
"url": "https://webmail.kmalloc.org/",
|
||||
"label": "webmail"
|
||||
},
|
||||
{
|
||||
"id": "lists",
|
||||
"url": "https://lists.kmalloc.org/",
|
||||
"label": "lists"
|
||||
},
|
||||
{
|
||||
"id": "git",
|
||||
"url": "https://git.kmalloc.org/",
|
||||
"label": "git"
|
||||
},
|
||||
{
|
||||
"id": "social",
|
||||
"url": "https://social.kmalloc.org/",
|
||||
"label": "social",
|
||||
"home_url": "https://social.kmalloc.org/@squid"
|
||||
},
|
||||
{
|
||||
"id": "chat",
|
||||
"url": "https://chat.kmalloc.org/",
|
||||
"label": "chat"
|
||||
},
|
||||
{
|
||||
"id": "matrix",
|
||||
"url": "https://element.kmalloc.org/",
|
||||
"label": "matrix"
|
||||
},
|
||||
{
|
||||
"id": "meet",
|
||||
"url": "https://meet.kmalloc.org/",
|
||||
"label": "meet"
|
||||
}
|
||||
],
|
||||
"people": [
|
||||
{
|
||||
"handle": "squid",
|
||||
"name": "",
|
||||
"links": [
|
||||
{
|
||||
"label": "Mastodon",
|
||||
"url": "https://social.kmalloc.org/@squid"
|
||||
},
|
||||
{
|
||||
"label": "git",
|
||||
"url": "https://git.kmalloc.org/squid"
|
||||
}
|
||||
],
|
||||
"home": "/~squid/",
|
||||
"gpg": true
|
||||
}
|
||||
],
|
||||
"gpg_fingerprint": "85B3 8E4D D4B5 1FD9 FF0C 74CB 3430 97BB 6D41 B4DD",
|
||||
"gpg_key": "/squid.asc",
|
||||
"gpg_keyserver": "https://keys.openpgp.org/search?q=squid%40kmalloc.org"
|
||||
"gpg_keyserver": "https://keys.openpgp.org/search?q=squid%40kmalloc.org",
|
||||
"motorino_url": "https://git.kmalloc.org/squid/motorino",
|
||||
"assets": {
|
||||
"favicon.svg": "logo/svg/favicon-auto.svg",
|
||||
"favicon-auto.svg": "logo/svg/favicon-auto.svg",
|
||||
"logo-auto.svg": "logo/svg/mark-auto.svg",
|
||||
"logo-light.svg": "logo/svg/mark-light.svg",
|
||||
"logo-dark.svg": "logo/svg/mark-dark.svg",
|
||||
"logo.png": "logo/png/icon-light-512.png",
|
||||
"icon-512.png": "logo/png/icon-light-512.png",
|
||||
"favicon.ico": "logo/web/favicon.ico",
|
||||
"apple-touch-icon.png": "logo/web/apple-touch-icon.png",
|
||||
"og.png": "logo/png/og-1200x630.png",
|
||||
"badges/w3c-html5.png": "badges/w3c-html5.png",
|
||||
"badges/w3c-css.png": "badges/w3c-css.png",
|
||||
"squid.asc": "static/squid.asc",
|
||||
"riot_pack.zip": "static/riot_pack.zip"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue