chore: tidy up markup
This commit is contained in:
parent
ebd98b1f34
commit
c44ab7a8fd
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
<div class="menu-closed" aria-hidden="true">{% tablericon "menu" "Menu closed" %}</div>
|
||||
<div class="menu-open" aria-hidden="true">{% tablericon "x" "Menu open" %}</div>
|
||||
</label>
|
||||
<ul class="menu-primary" aria-label="Primary site navigation" id="primary-navigation" role="menu">
|
||||
<ul class="menu-primary" aria-label="Primary site navigation" id="primary-navigation">
|
||||
{% for link in nav.menu %}
|
||||
<li>{% render "partials/nav/link.liquid", page:page, link:link.name, icon:link.icon %}</li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<script type="module" src="/assets/scripts/components/theme-toggle.js"></script>
|
||||
<span class="client-side">
|
||||
<theme-toggle>
|
||||
<button class="theme-toggle" aria-label="Toggle site theme" role="menuitem" tabindex="0">
|
||||
<button class="theme-toggle" aria-label="Toggle site theme" tabindex="0">
|
||||
<span class="light">
|
||||
{% tablericon "sun" "Toggle light theme" %}
|
||||
</span>
|
||||
|
|
Reference in a new issue