Add the motorino generator #3
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/generator"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm adding motorino, the generator of kmalloc.org, written in Go.
site.json,lang/*.json,content/<lang>/**/*.md,news/*.md,templates/,static/) and writes plain HTML, all or nothing.Key: valueheader ended by a-line, then Markdown with raw HTML allowed. News are published as/news/YYYY/MM/name.html, with a page for every category and a feed.{#id}; a page can say which manifesto version it translates.make checkruns gofmt, vet, staticcheck and the tests.I checked it by building the real site with it and with the Python generator and comparing the two page by page (17 of 17 identical), and with the Nu HTML Checker (no messages). A review of the whole branch found one regression (a quote in a title broke
og:title) and three robustness issues (clashing output addresses, unsafe asset paths and language codes, theSwitchkey); all four are fixed with tests. The minor findings are in #2.Closes #1