my website at https://anirudh.fi
1<!doctype html>
2<html lang=en>
3 <head>
4 {{ template "partials/head.html" }}
5 <meta name="description" content="{{ index .Meta "subtitle" }}">
6 </head>
7 <title>
8 {{ .Meta.title }} ({{ .Meta.season }}) — {{ .Cfg.Title }}
9 </title>
10 <body>
11 <main>
12 <div>
13 {{ template "partials/nav.html" }}
14 </div>
15 <article align="left">
16 <h1 class="-mb-4">{{ .Meta.title }} — {{ .Meta.season }}</h1>
17 <h2 class="text-gray dark:text-dark-gray"> {{ .Meta.camera }} {{ if .Meta.lens }}· {{ .Meta.lens }} {{ end }}{{ if .Meta.film }}· {{ .Meta.film }} {{ end }} </h2>
18 {{ if .Meta.subtitle }}
19 <h3 class="text-gray dark:text-dark-gray">{{ .Meta.subtitle }}</h3>
20 {{ end }}
21 <div class="columns-1 md:columns-2 mt-12">
22 {{ $photos := .Yaml.photos }}
23 {{ $d := .Yaml.defaults }}
24 {{ range $photos }}
25 <a href="https://cdn.anirudh.fi/{{ . }}">
26 <img class="object-cover relative w-full mb-3" src="https://cdn.anirudh.fi/cdn-cgi/image/width={{ $d.width }},height={{ $d.height }}/{{ . }}" />
27 </a>
28 {{- end }}
29 </div>
30 </article>
31 </main>
32 <footer>
33 {{ template "partials/footer.html" }}
34 </footer>
35</body>
36
37</html>