photos: separate photos into posts no-ci
Anirudh Oppiliappan x@icyphox.sh
Wed, 22 May 2024 21:32:27 +0300
5 files changed,
53 insertions(+),
31 deletions(-)
M
bin/photos.sh
→
bin/photos.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash # -# usage: printf "<bunch of photos>" | ./bin/photos.sh | pages/photos.md +# usage: printf "<bunch of photos>" | ./bin/photos.sh >> pages/photos.md prefix="$1" printf '<div class="image-grid">\n'
M
pages/photos.md
→
pages/phootos.md
@@ -101,30 +101,6 @@ <img src="https://cdn.icyphox.sh/fit?file=2023/summer/ltlv/001863450034.jpg&width=1000&height=1000" />
</a> </div> -## Helsinki, Finland -- Summer 2023 -### Olympus OM-10, 50mm f/1.8, Fujicolor 200 - -<div class="image-grid"> - <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460003.jpg"> - <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460003.jpg&width=1000&height=1000" /> - </a> - <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460008.jpg"> - <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460008.jpg&width=1000&height=1000" /> - </a> - <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460012.jpg"> - <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460012.jpg&width=1000&height=1000" /> - </a> - <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460014.jpg"> - <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460014.jpg&width=1000&height=1000" /> - </a> - <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460023.jpg"> - <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460023.jpg&width=1000&height=1000" /> - </a> - <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460029.jpg"> - <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460029.jpg&width=1000&height=1000" /> - </a> -</div> - ## Helsinki, Finland -- Autumn 2023 ### Canon EOS 55, 50mm f/1.8, Fomapan 100 (pushed to 400)
A
pages/photos/_index.md
@@ -0,0 +1,11 @@
+--- +template: page.html +title: photography +subtitle: 35mm film photography. +--- + +I picked up 35mm film photography in 2023 and I absolutely love it. I +currently use a [Canon EOS +55](https://h.icyphox.sh/u/icy/h/4Vh6Y75w1rWC17JRg3) and an Olympus +OM-10. This page documents some of my favourite shots. Click to view +full-size.
A
pages/photos/helsinki-summer-2023.md
@@ -0,0 +1,33 @@
+--- +template: photos.html +slug: helsinki-summer-2023 +title: Helsinki, Finland +season: Summer 2023 +camera: Olympus OM-10 +lens: 50mm f/1.8 +film: Fujicolor 200 +date: 2006-01-02 +--- + +<div class="image-grid"> + <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460003.jpg"> + <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460003.jpg&width=1000&height=1000" /> + </a> + <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460008.jpg"> + <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460008.jpg&width=1000&height=1000" /> + </a> + <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460012.jpg"> + <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460012.jpg&width=1000&height=1000" /> + </a> + <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460014.jpg"> + <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460014.jpg&width=1000&height=1000" /> + </a> + <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460023.jpg"> + <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460023.jpg&width=1000&height=1000" /> + </a> + <a href="https://cdn.icyphox.sh/film/2023/summer/helsinki/001863460029.jpg"> + <img src="https://cdn.icyphox.sh/fit?file=2023/summer/helsinki/001863460029.jpg&width=1000&height=1000" /> + </a> +</div> + +
M
templates/photos.html
→
templates/photos.html
@@ -4,13 +4,14 @@ <head>
{{ template "partials/head.html" }} <meta name="description" content="{{ index .Meta "subtitle" }}"> <style> - h2 { - margin-bottom: 1px; + h1 { + margin: 0px; + padding: 0px; } - h3 { - margin-top: 0px; + h2 { padding-top: 2px; - font-size: 0.9rem; + margin-top: 3px !important; + margin-bottom: 5px; color: var(--gray); } </style>@@ -24,7 +25,8 @@ <div class="sidenav">
{{ template "partials/nav.html" }} </div> <article align="left"> - <h1>{{ index .Meta "title" }}</h1> + <h1>{{ .Meta.title }} — {{ .Meta.season }}</h1> + <h2> {{ .Meta.camera }} · {{ .Meta.lens }} · {{ .Meta.film }} </h2> {{ .Body }} </article> </main>