all repos — site @ 89eb18be3cdeb63c5ba20b68f1f0fadf8ab4ff82

source for my site, found at icyphox.sh

reading: add a description
Anirudh Oppiliappan x@icyphox.sh
Mon, 27 May 2024 22:15:46 +0300
commit

89eb18be3cdeb63c5ba20b68f1f0fadf8ab4ff82

parent

e4fdf655850d65ef2e6e61770ff928b27104c5eb

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

jump to
M pages/reading.yamlpages/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.htmltemplates/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" }}