File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1818-->
1919
2020<!-- Determine class according to configuration -->
21+ {% import "partials/nav-item.html" as item with context %}
2122{% set class = "md-nav md-nav--primary" %}
2223{% if "navigation.tabs" in features %}
2324{% set class = class ~ " md-nav--lifted" %}
4546 < ul class ="md-nav__list " data-md-scrollfix >
4647 {% for nav_item in nav %}
4748 {% set path = "__nav_" ~ loop.index %}
48- {% set level = 1 %}
49- {% include "partials/nav-item.html" %}
49+ {{ item.render(nav_item, path, 1) }}
5050 {% endfor %}
5151 < li class ="community-callout-wrapper ">
5252 < div class ="community-callout ">
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ markdown_extensions:
3030 - pymdownx.superfences
3131 - pymdownx.tabbed :
3232 alternate_style : true
33+ - toc :
34+ permalink : true
3335
3436nav :
3537 - Home : index.md
You can’t perform that action at this time.
0 commit comments