commit 6a3871f6ae065bfb57177ab64aace58b0612bc7b parent d1b8b009eb8ff5229df0dce897bf62057166d987 Author: Hugo Soucy <hugo@soucy.cc> Date: Wed, 21 Jul 2021 20:43:11 -0400 Modify navigation and publications templates Diffstat:
M | templates/navigation.html | | | 8 | ++++++++ |
M | templates/publications.html | | | 2 | +- |
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/templates/navigation.html b/templates/navigation.html @@ -56,6 +56,14 @@ </li> <li class="nav__item"> <a + <% if rellink == '/a-propos.html' then %> + aria-current="page" + <% end %> + class="nav__link" + href="/a-propos.html">À propos</a> + </li> + <li class="nav__item"> + <a class="nav__link" href="#t">Retour en-haut</a> </li> diff --git a/templates/publications.html b/templates/publications.html @@ -31,7 +31,7 @@ <% elseif site[child].posttype == 'reply' then %> <small class="hentry__posttype"> <svg class="ico" height="24" width="24" role="image"><use href="#ico_corner_down_left"></use></svg> - <span>En réponse à </span><cite><a href="<%- url -%>" class="u-in-reply-to" rel="external"><%- site[child].url -%></a></cite>. + <span>En réponse à </span><cite><a href="<%- site[child].url -%>" class="u-in-reply-to" rel="external"><%- site[child].url -%></a></cite>. </small> <% elseif site[child].posttype == 'article' then %> <small class="hentry__posttype">