blog/templates/macros/layout.html
2019-05-06 05:00:53 -05:00

12 lines
467 B
HTML

{% macro navbar(config) %}
<div id="header" class="container">
<a href="/" id="title" class="title nocolorlink">{{ config.title }}</a>
<div id="nav">
{% for link in config.extra.nav_links %}
{% if loop.index > 1 %}&middot;{% endif %}
<a href="{{ link.url | safe }}" class="link">{{ link.text | replace(from=" ", to="&nbsp;") }}</a>
{% endfor %}
</div>
</div>
{% endmacro navbar %}