{{define "base"}}<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{if .Title}}{{.Title}} · {{end}}{{.Site.Title}}</title>
<link rel="icon" href="/static/favicon.svg">
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<header class="topbar">
  <a class="brand" href="/">{{.Site.Title}}</a>
  <nav>
    <a href="/list">Pages</a>
    <a href="/tags">Tags</a>
    <a href="/graph">Graph</a>
  </nav>
  <form class="search" action="/search" method="get">
    <input type="search" name="q" placeholder="Search…" value="{{.Query}}" aria-label="Search">
  </form>
</header>
<main class="{{.Layout}}">
{{template "content" .}}
</main>
</body>
</html>{{end}}
