all repos — site @ e521d2780f5616382538ccea62c993fc190c4bdf

source for my site, found at icyphox.sh

templates/photoindex.html (view raw)

 1<!doctype html>
 2<html lang=en>
 3  <head>
 4    {{ template "partials/head.html" }}
 5    <link rel="alternate" type="application/rss+xml" title="RSS" href="https://icyphox.sh/blog/feed.xml">
 6    <meta name="description" content="{{ index .Meta "subtitle" }}">
 7
 8    <style>
 9    table {
10      padding-top: 30px;
11    }
12    </style>
13  </head>
14
15
16  <title>
17    {{ .Meta.title }} &mdash; {{ .Cfg.Title }}
18  </title>
19<body>
20  <main>
21    <div class="sidenav">
22      {{ template "partials/nav.html" }}
23    </div>
24    {{ .Body }}
25    <table>
26      {{ range .Posts }}
27      <tr>
28        <td align="left">
29          <p><a href=/photos/{{ .Meta.slug }}>{{ .Meta.title }} &mdash; {{ .Meta.season }}</a></p>
30          <p id="subtitle"> {{ .Meta.camera }} · {{ .Meta.lens }} · {{ .Meta.film }} </p>
31        </td>
32      </tr>
33      {{ end }}
34    </table>
35  </main>
36  <footer>
37    {{ template "partials/footer.html" }}
38  </footer>
39</body>
40
41</html>