Skip to content

Commit

Permalink
fix: update mkdocs-material nav overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed May 2, 2024
1 parent e394465 commit bfa20e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/theme/partials/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
-->

<!-- Determine class according to configuration -->
{% import "partials/nav-item.html" as item with context %}
{% set class = "md-nav md-nav--primary" %}
{% if "navigation.tabs" in features %}
{% set class = class ~ " md-nav--lifted" %}
Expand Down Expand Up @@ -45,8 +46,7 @@
<ul class="md-nav__list" data-md-scrollfix>
{% for nav_item in nav %}
{% set path = "__nav_" ~ loop.index %}
{% set level = 1 %}
{% include "partials/nav-item.html" %}
{{ item.render(nav_item, path, 1) }}
{% endfor %}
<li class="community-callout-wrapper">
<div class="community-callout">
Expand Down

0 comments on commit bfa20e4

Please sign in to comment.