2019-09-28 19:42:54 +02:00
|
|
|
{#-
|
|
|
|
This file was automatically generated - do not edit
|
|
|
|
-#}
|
2020-02-29 12:23:52 +01:00
|
|
|
{% if nav_item.is_homepage or nav_item.url == "index.html" %}
|
2019-06-15 15:16:14 +02:00
|
|
|
<li class="md-tabs__item">
|
|
|
|
{% if not page.ancestors | length and nav | selectattr("url", page.url) %}
|
2019-08-27 17:43:20 +02:00
|
|
|
<a href="{{ nav_item.url | url }}" class="md-tabs__link md-tabs__link--active">
|
2019-06-15 15:23:03 +02:00
|
|
|
{{ nav_item.title }}
|
2019-06-15 15:16:14 +02:00
|
|
|
</a>
|
|
|
|
{% else %}
|
2019-08-27 17:43:20 +02:00
|
|
|
<a href="{{ nav_item.url | url }}" class="md-tabs__link">
|
2019-06-15 15:23:03 +02:00
|
|
|
{{ nav_item.title }}
|
2019-06-15 15:16:14 +02:00
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% elif nav_item.children and nav_item.children | length > 0 %}
|
|
|
|
{% set title = title | default(nav_item.title) %}
|
|
|
|
{% if (nav_item.children | first).children %}
|
|
|
|
{% set nav_item = nav_item.children | first %}
|
|
|
|
{% include "partials/tabs-item.html" %}
|
|
|
|
{% else %}
|
|
|
|
<li class="md-tabs__item">
|
|
|
|
{% if nav_item.active %}
|
2019-08-27 17:43:20 +02:00
|
|
|
<a href="{{ (nav_item.children | first).url | url }}" class="md-tabs__link md-tabs__link--active">
|
2019-06-15 15:23:03 +02:00
|
|
|
{{ title }}
|
2019-06-15 15:16:14 +02:00
|
|
|
</a>
|
|
|
|
{% else %}
|
2019-08-27 17:43:20 +02:00
|
|
|
<a href="{{ (nav_item.children | first).url | url }}" class="md-tabs__link">
|
2019-06-15 15:23:03 +02:00
|
|
|
{{ title }}
|
2019-06-15 15:16:14 +02:00
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|