refactor: split the site generator into templates and content, add news
- templates/ holds the page chrome (base, header, footer, badges, leads) - content/<lang>/ holds pages as HTML fragments with front matter and the chrome strings - content/site.toml holds shared values (contact, Bitcoin address, manifesto version) - static/style.css replaces the CSS embedded in the script - add news: Markdown posts in content/<lang>/news/, index page, latest posts on the home page - add [text](url) links and `code` to the Markdown renderer - copy favicons from logo/web so a fresh clone builds the whole site - build.py now uses the standard library only and fails on unknown placeholders
This commit is contained in:
parent
a93adca996
commit
c8b7b6a571
2 changed files with 931 additions and 487 deletions
BIN
logo/web/apple-touch-icon.png
Normal file
BIN
logo/web/apple-touch-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.8 KiB |
BIN
logo/web/favicon.ico
Normal file
BIN
logo/web/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in a new issue