kmalloc.org/templates/header.html
squid c8b7b6a571 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
2026-11-12 18:34:55 +01:00

17 lines
487 B
HTML

<header>
<nav aria-label="{{sections}}">
<p>
<a href="{{home_link}}"{{cur_home}}>kmalloc.org</a>
&middot;
<a href="{{url_manifesto}}"{{cur_manifesto}}>{{nav_manifesto}}</a>
&middot;
<a href="{{url_people}}"{{cur_people}}>{{nav_people}}</a>
&middot;
<a href="{{url_services}}"{{cur_services}}>{{nav_services}}</a>
&middot;
<a href="{{url_news}}"{{cur_news}}>{{nav_news}}</a>
&middot;
<a href="{{alt_switch}}" hreflang="{{other}}" lang="{{other}}">{{other_name}}</a>
</p>
</nav>
</header>