summary refs log tree commit diff stats
path: root/templates/nav.html
blob: b0cf643145b9a124c23fa7ef585856c62ee7414d (plain)
1
2
3
4
5
6
7
8
9
10
<a href="{{ config.base_url }}">Home</a>
{%- if config.extra.main_menu %}
{%- for item in config.extra.main_menu %}
{%- if item.url is matching("https?://") %}
<a href="{{ item.url }}">{{ item.name }}</a>
{%- else %}
<a href="{{ get_url(path=item.url )}}">{{ item.name }}</a>
{%- endif %}
{%- endfor %}
{%- endif %}