From eede62d12dc1d962cd8f0cc40a8f679d4647f44e Mon Sep 17 00:00:00 2001 From: desmukh Date: Tue, 27 Dec 2022 12:21:49 +0500 Subject: [PATCH] writing: style accordion --- layouts/partials/essay-accordion.html | 23 ++++++++++---- layouts/partials/head.html | 44 ++++++++++++++++++++------- layouts/writing/list.html | 2 +- 3 files changed, 51 insertions(+), 18 deletions(-) diff --git a/layouts/partials/essay-accordion.html b/layouts/partials/essay-accordion.html index a643b9d..ba05f39 100644 --- a/layouts/partials/essay-accordion.html +++ b/layouts/partials/essay-accordion.html @@ -1,8 +1,19 @@ - -
- {{ range where .essays "year" .year }} -
-

{{ .title }}, {{ .publication }}, {{ .date }}.

+
+
+
{{ .year }}
+
+
+
+ + +
- {{ end }} +
+
+
+
+ {{ range where .essays "year" .year }} +

{{ .title }}, {{ .publication }}, {{ .date }}.

+ {{ end }} +
\ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b04d33c..f4837f3 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -13,25 +13,47 @@ {{ if eq .Title "Writing" }} + {{ end }} diff --git a/layouts/writing/list.html b/layouts/writing/list.html index 866e75b..9a57e6a 100644 --- a/layouts/writing/list.html +++ b/layouts/writing/list.html @@ -1,5 +1,5 @@ {{ define "main"}} -
+