all repos — site @ b8260c2d4597b6329300f7a072df0f47856f459c

source for my site, found at icyphox.sh

templates/photos.html (view raw)

 1<!doctype html>
 2<html lang=en>
 3  <head>
 4    {{ template "partials/head.html" }}
 5    <meta name="description" content="{{ index .Meta "subtitle" }}">
 6  <style>
 7    h1 {
 8      margin: 0px;
 9      padding: 0px;
10    }
11    h2 {
12      padding-top: 2px;
13      margin-top: 3px !important;
14      margin-bottom: 5px;
15      color: var(--gray);
16    }
17  </style>
18  </head>
19  <title>
20    {{ index .Meta "title" }} &mdash; {{ .Cfg.Title }}
21  </title>
22  <body>
23  <main>
24    <div class="sidenav">
25      {{ template "partials/nav.html" }}
26    </div>
27    <article align="left">
28      <h1>{{ .Meta.title }} &mdash; {{ .Meta.season }}</h1>
29      <h2> {{ .Meta.camera }} · {{ .Meta.lens }} · {{ .Meta.film }} </h2>
30      {{ .Body }}
31    </article>
32  </main>
33  <footer>
34    {{ template "partials/footer.html" }}
35  </footer>
36</body>
37
38</html>