hscc

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

layout.html (2535B)


      1 <!DOCTYPE html>
      2 <html lang="<%= language -%>">
      3   <%- head -%>
      4   <% local posttype = posttype or template or 'default' %>
      5   <body class="layout <%- template or posttype -%>" id="t">
      6     <svg aria-hidden="true" height="0" style="position:absolute" width="0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
      7       <symbol id="ico_note" width="24" height="24" fill="none"><path d="M3 2h18v14h-2v2h-2v-2h-2v2h2v2h-2v2H3V2zm2 2v16h8v-6h6V4H5z" fill="currentColor"/></symbol>
      8       <symbol id="ico_bookmark" width="24" height="24" fill="none"><path d="M18 2H6v2h12v16h-2v-2h-2v-2h-4v2H8v2H6V2H4v20h4v-2h2v-2h4v2h2v2h4V2h-2z" fill="currentColor"/></symbol>
      9       <symbol id="ico_nav" width="24" height="24" fill="none"><path d="M4 6h16v2H4V6zm0 5h16v2H4v-2zm16 5H4v2h16v-2z" fill="currentColor"/></symbol>
     10       <symbol id="ico_chevron_left" width="24" height="24" fill="none"><path d="M16 5v2h-2V5h2zm-4 4V7h2v2h-2zm-2 2V9h2v2h-2zm0 2H8v-2h2v2zm2 2v-2h-2v2h2zm0 0h2v2h-2v-2zm4 4v-2h-2v2h2z" fill="currentColor"/></symbol>
     11       <symbol id="ico_corner_down_left" width="24" height="24" fill="none"><path d="M18 16H8v2H6v-2H4v-2h2v-2h2v2h10V4h2v12h-2zM8 12v-2h2v2H8zm0 6v2h2v-2H8z" fill="currentColor"/></symbol>
     12       <symbol id="ico_article" fill="none" height="24" width="24"><path d="M5 3H3v18h18V3H5zm14 2v14H5V5h14zm-2 2H7v2h10V7zM7 11h10v2H7v-2zm7 4H7v2h7v-2z" fill="currentColor"/></symbol>
     13     </svg>
     14     <header class="header-banner" role="banner">
     15       <div>
     16         <a href="/" rel="index">
     17           <picture>
     18             <source srcset="/hs0ucy.svg" type="image/svg+xml">
     19             <img alt="hs0ucy" src="/hs0ucy.png" height="40" width="126" />
     20           </picture>
     21         </a>
     22         <a class="go-to-nav" href="#n" id="t">
     23       <svg aria-hidden="true" class="ico" height="24" role="image" width="24"><use href="#ico_nav"></use></svg>
     24       <span class="visuallyhidden">Aller au&nbsp;</span>menu<span class="visuallyhidden"> de navigation</span>
     25         </a>
     26       </div>
     27     </header>
     28 
     29     <main class="main" id="m">
     30       <%- post %>
     31     </main>
     32 
     33     <%- navigation -%>
     34     <%- footer -%>
     35     <script>
     36       (function() {
     37         var indexCSS = document.getElementById('indexCSS');
     38 
     39         if (window.matchMedia && window.matchMedia(indexCSS.media).matches) {
     40           var script = document.createElement('script');
     41 
     42           script.src = '/js/index.min.js';
     43           script.async = true;
     44           document.body.appendChild(script);
     45         }
     46       })();
     47     </script>
     48   </body>
     49 </html>