all repos — site @ f0e4ef2e144178e241876d79c38b57b5f044bcec

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      article p {
12        padding: 0;
13      }
14    }
15    </style>
16  </head>
17
18
19  <title>
20    {{ .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 }}</h1>
29    {{ .Body }}
30    <table>
31      {{ $posts := .Extra }}
32      {{ range $posts }}
33      <tr>
34        <td align="left">
35          <a href=/photos/{{ .Meta.slug }}>{{ .Meta.title }} &mdash; {{ .Meta.season }}</a>
36          <p id="subtitle"> {{ .Meta.camera }} · {{ .Meta.lens }} · {{ .Meta.film }}</p>
37        </td>
38      </tr>
39      {{ end }}
40    </table>
41    </article>
42  </main>
43  <footer>
44    {{ template "partials/footer.html" }}
45  </footer>
46</body>
47
48</html>