all repos — site @ bff24d2436650519f53389a5261cec7447ba92bb

source for my site, found at icyphox.sh

templates/photos: wrap inside article
Anirudh Oppiliappan x@icyphox.sh
Mon, 27 May 2024 21:59:06 +0300
commit

bff24d2436650519f53389a5261cec7447ba92bb

parent

b146ade7cf94ee75538c24cf05c5192ef5b9ebcc

1 files changed, 8 insertions(+), 2 deletions(-)

jump to
M templates/photoindex.htmltemplates/photoindex.html

@@ -8,6 +8,9 @@

<style> table { padding-top: 30px; + article p { + padding: 0; + } } </style> </head>

@@ -21,17 +24,20 @@ <main>

<div class="sidenav"> {{ template "partials/nav.html" }} </div> + <article align="left"> + <h1>{{ .Meta.title }}</h1> {{ .Body }} <table> {{ range .Posts }} <tr> <td align="left"> - <p><a href=/photos/{{ .Meta.slug }}>{{ .Meta.title }} &mdash; {{ .Meta.season }}</a></p> - <p id="subtitle"> {{ .Meta.camera }} · {{ .Meta.lens }} · {{ .Meta.film }} </p> + <a href=/photos/{{ .Meta.slug }}>{{ .Meta.title }} &mdash; {{ .Meta.season }}</a> + <p id="subtitle"> {{ .Meta.camera }} · {{ .Meta.lens }} · {{ .Meta.film }}</p> </td> </tr> {{ end }} </table> + </article> </main> <footer> {{ template "partials/footer.html" }}