{{ define "bodyclass" }}page-404{{ end }}
{{ define "main" }}
<div class="tui">
  <p class="tui__cmd"><span class="tui__sym">$</span> cd <span class="err404">.</span></p>
  <p class="tui__total">cd: no such file or directory: <span class="err404">.</span></p>
  <p>error 404 — nothing lives here.</p>
  <p><a href="{{ "/" | relURL }}">cd ~</a></p>
</div>
<script>
  (function () {
    var p = (location.pathname || "/").replace(/\/$/, "") || "/";
    var n = document.querySelectorAll(".err404");
    for (var i = 0; i < n.length; i++) n[i].textContent = p;
  })();
</script>
{{ end }}
