Skip to content

Commit 5146798

Browse files
000-778: extra navi level
1 parent 43d9547 commit 5146798

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

_includes/header.html

-12
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,7 @@
1919
<a href="{{ item.link | relative_url }}" class="navbar-link {% if page.url contains item.link %}is-active{% endif %}">{{ item.name }}</a>
2020
<div class="navbar-dropdown">
2121
{% for subitem in item.dropdown %}
22-
{% if subitem.dropdown %}
23-
<!-- Second-level dropdown (hoverable) -->
24-
<div class="navbar-item has-dropdown is-hoverable">
25-
<a href="{{ subitem.link | relative_url }}" class="navbar-link">{{ subitem.name }}</a>
26-
<div class="navbar-dropdown">
27-
{% for subsubitem in subitem.dropdown %}
28-
<a href="{{ subsubitem.link | relative_url }}" class="navbar-item">{{ subsubitem.name }}</a>
29-
{% endfor %}
30-
</div>
31-
</div>
32-
{% else %}
3322
<a href="{{ subitem.link | relative_url }}" class="navbar-item {% if subitem.link == page.url %}is-active{% endif %}">{{ subitem.name }}</a>
34-
{% endif %}
3523
{% endfor %}
3624
</div>
3725
</div>

0 commit comments

Comments
 (0)