all repos — site @ 90b27829d79c98e750835cfb8cd2a02753cc480d

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      {{ range .Posts }}
32      <tr>
33        <td align="left">
34          <a href=/photos/{{ .Meta.slug }}>{{ .Meta.title }} &mdash; {{ .Meta.season }}</a>
35          <p id="subtitle"> {{ .Meta.camera }} · {{ .Meta.lens }} · {{ .Meta.film }}</p>
36        </td>
37      </tr>
38      {{ end }}
39    </table>
40    </article>
41  </main>
42  <footer>
43    {{ template "partials/footer.html" }}
44  </footer>
45</body>
46
47</html>