hscc

Soure code of <https://hugo.soucy.cc>.
git clone git://soucy.cc/hscc.git
Log | Files | Refs

navigation.html (2075B)


      1 <nav class="nav" id="n" data-rellink="<%= rellink -%>">
      2   <div>
      3     <h2 class="nav__title visuallyhidden">Menu de navigation</h2>
      4 
      5     <ol class="nav__list">
      6       <li class="nav__item">
      7         <a
      8           <% if rellink == '/' then %>
      9           aria-current="page"
     10           <% end %>
     11           class="nav__link"
     12           href="/"
     13           rel="index">Intro</a>
     14       </li>
     15       <li class="nav__item">
     16         <a
     17           <% if rellink == '/'..os.date('%Y')..'/' then %>
     18           aria-current="page"
     19           <% end %>
     20           class="nav__link"
     21           href="/<%= os.date('%Y') -%>">Publications</a>
     22       </li>
     23       <li class="nav__item">
     24         <a
     25           <% if rellink == '/file/curriculum-vitae.html' then %>
     26           aria-current="page"
     27           <% end %>
     28           class="nav__link"
     29           href="/file/curriculum-vitae.html">
     30           <abbr title="Curriculum Vitae">CV</abbr>
     31         </a>
     32       </li>
     33       <li class="nav__item">
     34         <a
     35           <% if rellink == '/archives.html' then %>
     36           aria-current="page"
     37           <% end %>
     38           class="nav__link"
     39           href="/archives.html">Archives</a>
     40       </li>
     41       <li class="nav__item">
     42         <a
     43           <% if rellink == '/xfn.html' then %>
     44           aria-current="page"
     45           <% end %>
     46           class="nav__link"
     47           href="/xfn.html">Liens</a>
     48       </li>
     49       <li class="nav__item">
     50         <a
     51           <% if rellink == '/abonnement.html' then %>
     52           aria-current="page"
     53           <% end %>
     54           class="nav__link"
     55           href="/abonnement.html">S'abonner</a>
     56       </li>
     57       <li class="nav__item">
     58         <a
     59           <% if rellink == '/a-propos.html' then %>
     60           aria-current="page"
     61           <% end %>
     62           class="nav__link"
     63           href="/a-propos.html">À propos</a>
     64       </li>
     65       <li class="nav__item">
     66         <a
     67           <% if rellink == '/now.html' then %>
     68           aria-current="page"
     69           <% end %>
     70           class="nav__link"
     71           href="/now.html">Maintenant</a>
     72       </li>
     73     </ol>
     74   </div>
     75 </nav>