1+ {% import "partials/nav-item.html" as item with context %}
2+
3+ <!-- Determine class according to configuration -->
4+ {% set class = "md-nav md-nav--primary" %}
5+ {% if "navigation.tabs" in features %}
6+ {% set class = class ~ " md-nav--lifted" %}
7+ {% endif %}
8+ {% if "toc.integrate" in features %}
9+ {% set class = class ~ " md-nav--integrated" %}
10+ {% endif %}
11+
12+ <!-- Main navigation -->
13+ < nav
14+ class ="{{ class }} "
15+ aria-label ="{{ lang.t('nav.title') }} "
16+ data-md-level ="0 "
17+ >
18+
19+ <!-- Site title -->
20+ < label class ="md-nav__title " for ="__drawer ">
21+ < a
22+ href ="{{ config.extra.homepage | d(nav.homepage.url, true) | url }} "
23+ title ="{{ config.site_name | e }} "
24+ class ="md-nav__button md-logo "
25+ aria-label ="{{ config.site_name }} "
26+ data-md-component ="logo "
27+ >
28+ {% include "partials/logo.html" %}
29+ </ a >
30+ {{ config.site_name }}
31+ </ label >
32+
33+ <!-- Repository information -->
34+ {% if config.repo_url %}
35+ < div class ="md-nav__source ">
36+ {% include "partials/source.html" %}
37+ </ div >
38+ {% endif %}
39+
40+ <!-- Navigation list -->
41+ < ul class ="md-nav__list " data-md-scrollfix >
42+ {% for nav_item in nav %}
43+ {% set path = "__nav_" ~ loop.index %}
44+ {{ item.render(nav_item, path, 1) }}
45+ {% endfor %}
46+ </ ul >
47+
48+ < ul class ="md-nav__list " data-md-scrollfix style ="padding-top: 15px; padding-left: 10px ">
49+ < div >
50+ < a href ="https://speakeasy.com "> < img src ="/img/speakeasy.png " width =150px style => </ img > </ a >
51+ </ div >
52+ </ ul >
53+ </ nav >
54+
0 commit comments