small pixel drawing of a pufferfish j3s.sh

templates/layout.html

{{ define "layout" }}
<!doctype html>
<html>
<head>
  <style>
    /* this makes sure the scrollbar is always shown, so the site doesnt change between pages */
    html {
      overflow-y: scroll
    }

    #main,
    #header,
    aside,
    img {
      max-width: 500px;
      margin: 0 auto;
      padding: 0;
    }

    #header {
      font-family: monospace;
      text-align: center;
    }

    .grayscale {
      -webkit-filter: grayscale(100%);
      -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
      filter: grayscale(100%);
    }
  </style>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{{template "title"}}</title>
  <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22><text y=%2226%22 font-size=%2226%22>🐈‍⬛</text></svg>" />
  <link rel="alternate" title="Sitewide Atom feed" type="application/atom+xml" href="/feed.atom" />
</head>

<body class="grayscale">
  <div id="header">
    <a href="/"><img src="/static/unnamed-puffy.png" height="111" width="140" alt="pic of an unnamed pufferfish, drawn by rekka bellum of kokorobot.ca and hundred rabbits :3"></a>
    <h1>jes {{ .TitleWord }}</h1>
    <p>
      <a href="/now.html">now</a>
      <a href="/about.html">about</a>
      <a href="/reviews.html">reviews</a>
      <a href="/thoughts.html">thoughts</a>
      <a href="/tools.html">tools</a>
      <a href="/projects.html">projects</a>
      |
      <a href="https://git.j3s.sh">git -></a>
      <a href="https://snap.as/j3s">pics -></a>
    </p>
    <hr>
  </div>
  <div id="main">
    {{ template "body" . }}
  </div>
</body>

</html>
{{ end }}