hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit 46cf293f0ed82442c21a3db9141536186bae2cd7
parent 309d251ddad3b69fdcb852fcb75404a197462cf6
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun, 19 Mar 2017 11:15:33 -0400

Add the à propos page in the main menu.

Diffstat:
Mtemplates/mustache/partials/nav.index.mustache | 53+++++++++++++++++++++++++++++------------------------
Mtemplates/mustache/partials/nav.mustache | 63++++++++++++++++++++++++++++++++++-----------------------------
2 files changed, 63 insertions(+), 53 deletions(-)

diff --git a/templates/mustache/partials/nav.index.mustache b/templates/mustache/partials/nav.index.mustache @@ -1,27 +1,32 @@ <nav class="nav"> - <div class="nav__panel" id="menu" tabindex="0"> - <div class="nav__panel__content layout"> - <h2 class="visuallyhidden">Navigation</h2> - - <ul class="nav__list" role="menubar"> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/note"> - Notes - </a> - </li> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/txt"> - Textes - </a> - </li> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/file/curriculum-vitae.html"> - Curriculum vitae - </a> - </li> - </ul> - </div> + <div class="nav__panel" id="menu" tabindex="0"> + <div class="nav__panel__content layout"> + <h2 class="visuallyhidden">Navigation</h2> + + <ul class="nav__list" role="menubar"> + <li class="nav__item"> + <a class="nav__link" href="{{ BASE_URL }}/note"> + Notes + </a> + </li> + <li class="nav__item"> + <a class="nav__link" href="{{ BASE_URL }}/txt"> + Textes + </a> + </li> + <li class="nav__item"> + <a class="nav__link" href="{{ BASE_URL }}/file/curriculum-vitae.html"> + Curriculum vitae + </a> + </li> + <li class="nav__item"> + <a class="nav__link" href="{{ BASE_URL }}/a-propos.html"> + À propos + </a> + </li> + </ul> + </div> - {{> nav.close.mustache }} - </div> + {{> nav.close.mustache }} + </div> </nav> diff --git a/templates/mustache/partials/nav.mustache b/templates/mustache/partials/nav.mustache @@ -1,32 +1,37 @@ <nav class="nav"> - <div class="nav__panel" id="menu" tabindex="0"> - <div class="nav__panel__content layout"> - <h2 class="visuallyhidden">Navigation</h2> - - <ul class="nav__list" role="menubar"> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}" rel="index"> - Page d'accueil - </a> - </li> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/note"> - Notes - </a> - </li> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/txt"> - Textes - </a> - </li> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/file/curriculum-vitae.html"> - Curriculum vitae - </a> - </li> - </ul> - </div> - - {{> nav.close.mustache }} + <div class="nav__panel" id="menu" tabindex="0"> + <div class="nav__panel__content layout"> + <h2 class="visuallyhidden">Navigation</h2> + + <ul class="nav__list" role="menubar"> + <li class="nav__item"> + <a class="nav__link" href="{{ BASE_URL }}" rel="index"> + Page d'accueil + </a> + </li> + <li class="nav__item"> + <a class="nav__link" href="{{ BASE_URL }}/note"> + Notes + </a> + </li> + <li class="nav__item"> + <a class="nav__link" href="{{ BASE_URL }}/txt"> + Textes + </a> + </li> + <li class="nav__item"> + <a class="nav__link" href="{{ BASE_URL }}/file/curriculum-vitae.html"> + Curriculum vitae + </a> + </li> + <li class="nav__item"> + <a class="nav__link" href="{{ BASE_URL }}/a-propos.html"> + À propos + </a> + </li> + </ul> </div> + + {{> nav.close.mustache }} + </div> </nav>