{% 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 %}·{% endif %} <a href="{{ link.url | safe }}" class="link">{{ link.text | replace(from=" ", to=" ") | safe }}</a> {% endfor %} </div> </div> {% endmacro navbar %}