<!DOCTYPE html>
<html lang="en">
  <head>
    <link rel="stylesheet" href="/css/style.css">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ block "title" . }}
      {{- .Site.Title -}}
    {{ end }}</title>
  </head>
  <body>
    {{ block "header" . }}
      <div id="head">
        <div class="title"><a href="/">Théophile Bastian</a></div>
        <div class="whoami">Computer Science Student, <a href="https://ens.fr/">ENS Paris</a>, France</div>
      </div>
    {{ end }}

    <div id="main-container">
      <div class="tab-selector">
        <!--
        <ul>
          <li><a href="/">Who am I?</a></li>
          <li><a href="/research">Research</a></li>
          <li><a href="/services">Things I host</a></li>
          <li><a href="/cooking">Cooking</a></li>
        </ul>
        -->
        {{ partial "menu" . }}
      </div>

      <div id="content">
        {{ block "pagename" . }}
        {{ end }}

        <div id="main">
          {{ block "main" . }}
          {{ end }}
        </div>
      </div>

      <div class="profilepic">
        <picture>
          <source srcset="/img/me_face.jpg" media="(max-width: 1000px)">
          <img src="/img/me.jpg">
        </picture>
      </div>
  </body>
</html>
