- 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
17 lines
487 B
HTML
17 lines
487 B
HTML
<header>
|
|
<nav aria-label="{{sections}}">
|
|
<p>
|
|
<a href="{{home_link}}"{{cur_home}}>kmalloc.org</a>
|
|
·
|
|
<a href="{{url_manifesto}}"{{cur_manifesto}}>{{nav_manifesto}}</a>
|
|
·
|
|
<a href="{{url_people}}"{{cur_people}}>{{nav_people}}</a>
|
|
·
|
|
<a href="{{url_services}}"{{cur_services}}>{{nav_services}}</a>
|
|
·
|
|
<a href="{{url_news}}"{{cur_news}}>{{nav_news}}</a>
|
|
·
|
|
<a href="{{alt_switch}}" hreflang="{{other}}" lang="{{other}}">{{other_name}}</a>
|
|
</p>
|
|
</nav>
|
|
</header>
|