fix: navigation labels
This commit is contained in:
parent
e52caea435
commit
3ce64cb573
3 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
||||||
<footer>
|
<footer>
|
||||||
<nav class="flex--centered text-center">
|
<nav aria-label="Social icons" class="flex--centered text-center">
|
||||||
{% for link in nav.social %}
|
{% for link in nav.social %}
|
||||||
{% render "partials/nav/linked-icon.liquid", name: link.name, link: link.url, icon: link.icon %}
|
{% render "partials/nav/linked-icon.liquid", name: link.name, link: link.url, icon: link.icon %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</nav>
|
</nav>
|
||||||
<nav class="flex--centered text-center">
|
<nav aria-label="Secondary site navigation" class="flex--centered text-center">
|
||||||
{% for link in nav.footer %}
|
{% for link in nav.footer %}
|
||||||
{% render "partials/nav/link.liquid", page: page, link: link.name, icon: link.icon %}
|
{% render "partials/nav/link.liquid", page: page, link: link.name, icon: link.icon %}
|
||||||
{% if not forloop.last %}<span>•</span>{% endif %}
|
{% if not forloop.last %}<span>•</span>{% endif %}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<nav>
|
<nav aria-label="Primary site navigation">
|
||||||
<ul class="flex--centered">
|
<ul class="flex--centered">
|
||||||
{% for link in nav.menu %}
|
{% for link in nav.menu %}
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<style>
|
<style>
|
||||||
{{ css | cssmin }}
|
{{ css | cssmin }}
|
||||||
</style>
|
</style>
|
||||||
<nav class="pagination flex--centered">
|
<nav aria-label="Blog pagination" class="pagination flex--centered">
|
||||||
{% if pagination.href.previous %}
|
{% if pagination.href.previous %}
|
||||||
<a href="{{ pagination.href.previous }}">
|
<a href="{{ pagination.href.previous }}">
|
||||||
<button aria-label="Previous page [&>svg]:h-5 [&>svg]:w-5">
|
<button aria-label="Previous page [&>svg]:h-5 [&>svg]:w-5">
|
||||||
|
|
Reference in a new issue