2019-09-28 19:42:54 +02:00
|
|
|
{#-
|
|
|
|
This file was automatically generated - do not edit
|
|
|
|
-#}
|
2023-07-05 17:39:33 +02:00
|
|
|
{% import "partials/nav-item.html" as item with context %}
|
2020-12-20 15:00:21 +01:00
|
|
|
{% set class = "md-nav md-nav--primary" %}
|
|
|
|
{% if "navigation.tabs" in features %}
|
|
|
|
{% set class = class ~ " md-nav--lifted" %}
|
|
|
|
{% endif %}
|
|
|
|
{% if "toc.integrate" in features %}
|
|
|
|
{% set class = class ~ " md-nav--integrated" %}
|
|
|
|
{% endif %}
|
2022-11-12 13:56:18 +01:00
|
|
|
<nav class="{{ class }}" aria-label="{{ lang.t('nav') }}" data-md-level="0">
|
2020-02-24 18:07:50 +01:00
|
|
|
<label class="md-nav__title" for="__drawer">
|
2021-03-07 19:39:03 +01:00
|
|
|
<a href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}" title="{{ config.site_name | e }}" class="md-nav__button md-logo" aria-label="{{ config.site_name }}" data-md-component="logo">
|
2020-03-26 15:38:50 +01:00
|
|
|
{% include "partials/logo.html" %}
|
2019-06-15 15:16:14 +02:00
|
|
|
</a>
|
2019-06-15 15:23:03 +02:00
|
|
|
{{ config.site_name }}
|
2019-06-15 15:16:14 +02:00
|
|
|
</label>
|
|
|
|
{% if config.repo_url %}
|
|
|
|
<div class="md-nav__source">
|
|
|
|
{% include "partials/source.html" %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-02-16 00:23:50 +01:00
|
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% for nav_item in nav %}
|
2021-02-24 18:02:09 +01:00
|
|
|
{% set path = "__nav_" ~ loop.index %}
|
2023-07-05 17:39:33 +02:00
|
|
|
{{ item.render(nav_item, path, 1) }}
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|