From 0ee4bd3ded721ba2657a42468bc701e84125ddcc Mon Sep 17 00:00:00 2001
From: breadcat
Date: Wed, 10 Jan 2024 16:17:47 +0000
Subject: Add counts to
---
themes/Brine/layouts/_default/baseof.html | 1 +
themes/Brine/layouts/_default/dreams.html | 4 ++--
themes/Brine/layouts/_default/memoirs.html | 16 ++++++++++++----
3 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/themes/Brine/layouts/_default/baseof.html b/themes/Brine/layouts/_default/baseof.html
index 5cbc739..6eb5a84 100644
--- a/themes/Brine/layouts/_default/baseof.html
+++ b/themes/Brine/layouts/_default/baseof.html
@@ -22,6 +22,7 @@
pre>code{display:block;padding:20px;white-space:pre-wrap;font-size:75%;max-width:80ch}
a,h1,li,p{max-width:70ch}
blockquote{color:#333;border-left:7px solid #fc9;padding:0 14px;margin:0}
+ summary>span{color:#999}
td,th{text-align:left;padding-right:10px}
p.pagination>a{padding:5px}
@media(min-width:1100px){
diff --git a/themes/Brine/layouts/_default/dreams.html b/themes/Brine/layouts/_default/dreams.html
index dc60178..7e94a84 100644
--- a/themes/Brine/layouts/_default/dreams.html
+++ b/themes/Brine/layouts/_default/dreams.html
@@ -1,13 +1,13 @@
{{ define "main" }}
{{ .Title }}
{{ .Content }}
- Dated
+ Dated ({{ .Site.Taxonomies.dream.dated | len}})
{{ range sort .Site.Taxonomies.dream.dated ".Page.RelPermalink" "desc" }}
- {{ .Page.Title }}
{{ end }}
- Archive
+ Archive ({{ .Site.Taxonomies.dream.undated | len}})
{{ range sort .Site.Taxonomies.dream.undated ".Page.RelPermalink" "desc" }}
- {{ .Page.Title }}
{{ end }}
diff --git a/themes/Brine/layouts/_default/memoirs.html b/themes/Brine/layouts/_default/memoirs.html
index 6b6fb86..fe6c711 100644
--- a/themes/Brine/layouts/_default/memoirs.html
+++ b/themes/Brine/layouts/_default/memoirs.html
@@ -1,28 +1,36 @@
{{ define "main" }} {{ .Title }}
{{ .Content }}
+
+
+ Working ({{ .Site.Taxonomies.memoir.working | len}})
+ {{ range sort .Site.Taxonomies.memoir.working ".Page.RelPermalink" "desc" }}
+ - {{ .Page.Title }}
{{ end }}
+
+
+
- College
+ College ({{ .Site.Taxonomies.memoir.college | len}})
{{ range sort .Site.Taxonomies.memoir.college ".Page.RelPermalink" "desc" }}
- {{ .Page.Title }}
{{ end }}
- Sixth Form
+ High School/Sixth Form ({{ .Site.Taxonomies.memoir.sixthform | len}})
{{ range sort .Site.Taxonomies.memoir.sixthform ".Page.RelPermalink" "desc" }}
- {{ .Page.Title }}
{{ end }}
- Junior School
+ Junior School ({{ .Site.Taxonomies.memoir.juniorschool | len}})
{{ range sort .Site.Taxonomies.memoir.juniorschool ".Page.RelPermalink" "desc" }}
- {{ .Page.Title }}
{{ end }}
- Nursery
+ Nursery ({{ .Site.Taxonomies.memoir.nursery | len}})
{{ range sort .Site.Taxonomies.memoir.nursery ".Page.RelPermalink" "desc" }}
- {{ .Page.Title }}
{{ end }}
--
cgit v1.2.3