base.html (3361B) - raw


      1 <!DOCTYPE html>
      2 <html lang="en">
      3   <head>
      4     <meta charset="utf-8"/>
      5     <meta name="viewport" content="width=device-width, initial-scale=1"/>{{ _if description }}
      6     <meta name="description" content="{{ description }}">{{ _fi }}
      7     <meta name="author" content="Oscar Benedito"/>
      8     <link rel="icon" href="/{{ _asset_img/favicon.min.svg }}"/>
      9     <link rel="shortcut icon" href="/favicon.ico"/>
     10     <title>{{ _if title }}{{ title }} | {{ _fi }}Oscar Benedito</title>
     11     <link rel="alternate" type="application/atom+xml" title="Oscar's Blog" href="/blog/index.xml"/>
     12     <link rel="stylesheet" type="text/css" href="/{{ _asset_css/style.min.css }}"/>{{ _if extraheader }}
     13     {{ extraheader }}{{ _fi }}
     14   </head>
     15   <body>
     16     <header id="page-header">
     17       <div class="content">
     18         <a href="/{{ _ife en-url }}{{ _else }}en/{{ _fi }}" class="logo" title="{{ _ife en-url }}Inici{{ _else }}Home{{ _fi }}">Oscar Benedito</a>
     19         <nav>
     20           {{ _if ca-url }}<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="stroke: none; vertical-align: middle; height: 0.9em;"><path d="M18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301 14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"/></svg> <a href="/{{ ca-url }}">Català</a> &middot;{{ _fi }}
     21           {{ _if en-url }}<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="stroke: none; vertical-align: middle; height: 0.9em;"><path d="M18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301 14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"/></svg> <a href="/{{ en-url }}">English</a> &middot;{{ _fi }}
     22           <a href="/blog/">Blog{{ _if en-url }} (en anglès){{ _fi }}</a> &middot;
     23           <a href="https://git.oscarbenedito.com">Git</a> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="height: 0.7em; margin-bottom: 0.05em;"><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"/></svg>
     24         </nav>
     25       </div>
     26     </header>
     27     {{ content }}
     28     <footer id="page-footer">
     29       <div class="content">
     30         &copy; 2019-2023 Oscar Benedito &middot;
     31         {{ _ife en-url }}<a href="/sobre/">Sobre el web</a>{{ _else }}<a href="/en/about/">About this site</a>{{ _fi }}
     32       </div>
     33     </footer>{{ _if extrafooter }}
     34     {{ extrafooter }}{{ _fi }}
     35   </body>{{ _if _asset_live.js }}
     36   <script type="text/javascript" src="/{{ _asset_live.js }}"></script>{{ _fi }}
     37 </html>