commit bb4d3e912be8bd9cc2c3329e8bd017dcaa9f40f7 parent 7700a780fc78d5a408dd1454135356db7dfd8566 Author: Hugo Soucy <hugo@soucy.cc> Date: Sat, 6 Mar 2021 10:03:05 -0500 Modify the navigation title Diffstat:
M | templates/navigation.html | | | 19 | ++++++++++++++++++- |
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/templates/navigation.html b/templates/navigation.html @@ -1,5 +1,6 @@ <nav class="nav" id="n" data-rellink="<%= rellink -%>"> - <h2 class="nav__title visuallyhidden--xs">Navigation</h2> + <h2 class="nav__title visuallyhidden">Menu de navigation</h2> + <ol class="nav__list"> <li class="nav__item"> <a @@ -28,5 +29,21 @@ <abbr title="Curriculum Vitae">CV</abbr> </a> </li> + <li class="nav__item"> + <a + <% if rellink == '/archives.html' then %> + aria-current="page" + <% end %> + class="nav__link" + href="/archives.html">Archives</a> + </li> + <li class="nav__item"> + <a + <% if rellink == '/abonnement.html' then %> + aria-current="page" + <% end %> + class="nav__link" + href="/abonnement.html">Abonnement</a> + </li> </ol> </nav>