Removed unnecessary data attributes

This commit is contained in:
squidfunk 2020-02-15 21:51:15 +01:00
parent 67406d26eb
commit a55554f90d
2 changed files with 2 additions and 6 deletions

View File

@ -15,7 +15,7 @@
<label class="md-nav__link" for="{{ path }}">
{{ nav_item.title }}
</label>
<nav class="md-nav" data-md-component="collapsible" data-md-level="{{ level }}">
<nav class="md-nav" data-md-level="{{ level }}">
<label class="md-nav__title" for="{{ path }}">
{{ nav_item.title }}
</label>

View File

@ -52,11 +52,7 @@
<label class="md-nav__link" for="{{ path }}">
{{ nav_item.title }}
</label>
<nav
class="md-nav"
data-md-component="collapsible"
data-md-level="{{ level }}"
>
<nav class="md-nav" data-md-level="{{ level }}">
<label class="md-nav__title" for="{{ path }}">
{{ nav_item.title }}
</label>