hscc

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

bookmark.html (2398B)


      1 <article class="h-entry hentry">
      2   <small class="hentry__posttype">
      3     <svg aria-hidden="true" class="ico" height="24" width="24" role="image"><use href="#ico_bookmark"></use></svg>
      4     Marque-page
      5   </small>
      6 
      7   <h1 class="p-name">
      8     <a
      9       class="u-bookmark-of u-like-of h-cite"
     10       href="<%= url -%>"
     11       rel="external nofollow">
     12       <%- title -%>
     13     </a>
     14   </h1>
     15 
     16   <div class="e-content">
     17     <%- content -%>
     18   </div>
     19 
     20   <% if keywords then %>
     21     <ul class="hentry__categories">
     22       <% for i = 1, #keywords do %>
     23         <li>
     24           <a class="p-category" href="/mots-cles.html#<%- keywords[i]:gsub("%s+", "-") -%>" rel="tag"><%- keywords[i] -%></a>
     25         </li>
     26       <% end %>
     27     </ul>
     28   <% end %>
     29 
     30   <footer class="hentry__footer">
     31     <div>
     32       <a aria-current="page" class="u-url" href="<%- permalink -%>" rel="bookmark">
     33         <span class="visuallyhidden">Permalien</span>
     34         <svg aria-hidden="true" class="ico" height="24" role="image" width="24"><use href="#ico_link"></use></svg>
     35       </a>
     36       Publié le <time class="dt-published" datetime="<%= date -%>T<%= datetime -%>"><%= date -%></time>,
     37       par <a class="p-author author h-card" href="<%= author.uri -%>" rel="author"><i><%= author.name -%></i><img alt="" class="u-photo visuallyhidden" src="/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/></a>.
     38       <% if tonumber(os.date('%Y%m%d%H%M%S', time_modification)) > tonumber(time_created) then %>
     39         Mise à jour <time class="dt-updated"><%= os.date('%Y-%m-%d %H:%M:%S', time_modification) -%></time>.
     40       <% end %>
     41       <% if posse then %>
     42         Voir sur
     43         <% for k, v in pairs(posse) do %>
     44           <a class="u-syndication" href="<%- v -%>" rel="syndication external"><%- k -%></a>,
     45         <% end %>
     46       <% end %>
     47     </div>
     48 
     49     <p>
     50       [<a href="/<%= date:sub(1,4) -%>" rel="prev">Publications</a>]
     51       [<a href="../mp/" rel="up">Remonter</a>]
     52       <% if relprev then %>
     53         [<a href="<%= relprev.rellink -%>" rel="prev">Précédent</a>]
     54       <% end %>
     55       <% if relnext then %>
     56         [<a href="<%= relnext.rellink -%>" rel="next">Suivant</a>]
     57       <% end %>
     58     </p>
     59   </footer>
     60 
     61   <a
     62     aria-hidden="true"
     63     class="visuallyhidden"
     64     href="https://brid.gy/publish/mastodon"></a>
     65   <a
     66     aria-hidden="true"
     67     class="visuallyhidden"
     68     href="https://fed.brid.gy/"></a>
     69 </article>