templates/photos: wrap inside article
Anirudh Oppiliappan x@icyphox.sh
Mon, 27 May 2024 21:59:06 +0300
1 files changed,
8 insertions(+),
2 deletions(-)
jump to
M
templates/photoindex.html
→
templates/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 }} — {{ .Meta.season }}</a></p> - <p id="subtitle"> {{ .Meta.camera }} · {{ .Meta.lens }} · {{ .Meta.film }} </p> + <a href=/photos/{{ .Meta.slug }}>{{ .Meta.title }} — {{ .Meta.season }}</a> + <p id="subtitle"> {{ .Meta.camera }} · {{ .Meta.lens }} · {{ .Meta.film }}</p> </td> </tr> {{ end }} </table> + </article> </main> <footer> {{ template "partials/footer.html" }}