reading: add a description
Anirudh Oppiliappan x@icyphox.sh
Mon, 27 May 2024 22:15:46 +0300
2 files changed,
6 insertions(+),
1 deletions(-)
M
pages/reading.yaml
→
pages/reading.yaml
@@ -2,7 +2,9 @@ meta:
template: reading.html title: reading subtitle: Tracking my reading. - + description: | + I use this page to track my reading. I have obviously read more than this, + but I cannot remember beyond 2020. books: - 2024:
M
templates/reading.html
→
templates/reading.html
@@ -13,7 +13,9 @@ <main>
<div class="sidenav"> {{ template "partials/nav.html" }} </div> + <article align="left"> <h1>{{ .Meta.title }}</h1> + <p> {{ .Meta.description }}</p> {{- $books := .Yaml.books }} {{- range $i, $yearMap := $books }} {{- range $year, $books := $yearMap }}@@ -31,6 +33,7 @@ </tbody>
</table> {{- end }} {{- end }} + </article> </main> <footer> {{ template "partials/footer.html" }}