mirror of
https://github.com/rvtr/wiki.git
synced 2025-10-31 06:31:13 -04:00
Fix home accesskey
This commit is contained in:
parent
913d34df8b
commit
acd933f8dd
@ -1,7 +1,7 @@
|
||||
<nav class="navbar navbar-expand-sm navbar-dark bg-primary">
|
||||
<div class="container-fluid maxwidth">
|
||||
<span class="navbar-brand">
|
||||
<a class="navbar-brand mb-0 h1" href="{% unless page.collection == "en-US" %}/{{ page.collection }}{% endunless %}{{ site.data[page.collection].nav[0].url }}">{{ site.data[page.collection].strings.title }}</a>
|
||||
<a class="navbar-brand mb-0 h1" href="{% unless page.collection == "en-US" %}/{{ page.collection }}{% endunless %}{{ site.data[page.collection].nav[0].url }}" accesskey="h">{{ site.data[page.collection].strings.title }}</a>
|
||||
</span>
|
||||
<button class="navbar-toggler mr-4" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ site.data[page.collection].strings.toggle-navigation }}">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
@ -12,7 +12,7 @@
|
||||
{% if item.url %}
|
||||
<li class="nav-item">
|
||||
{% assign section = "/" | append: page.section %}
|
||||
<a class="nav-link {% if item.url == section %} active {% endif %}" href="{% unless page.collection == "en-US" %}/{{ page.collection }}{% endunless %}{{ item.url }}" accesskey="h">{{ item.title }}</a>
|
||||
<a class="nav-link {% if item.url == section %} active {% endif %}" href="{% unless page.collection == "en-US" %}/{{ page.collection }}{% endunless %}{{ item.url }}">{{ item.title }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if item.items %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user