blog/templates/macros/layout.html

12 lines
388 B
HTML
Raw Normal View History

2018-08-09 06:53:47 +00:00
{% macro navbar(config) %}
<div class="container">
<a href="/" class="title nocolorlink">{{ config.title }}</a>
<div id="nav">
{% for link in config.extra.nav_links %}
<a href="{{ link.url | safe }}" class="link">{{ link.text | replace(from=" ", to="&nbsp;") }}</a>
{% endfor %}
</div>
</div>
{% endmacro navbar %}