diff options
Diffstat (limited to 'themes/Brine/layouts/_default/memoirs.html')
-rw-r--r-- | themes/Brine/layouts/_default/memoirs.html | 16 |
1 files changed, 12 insertions, 4 deletions
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" }} <h1>{{ .Title }}</h1> {{ .Content }} + + <details> + <summary>Working <span>({{ .Site.Taxonomies.memoir.working | len}})</span></summary> + <ul>{{ range sort .Site.Taxonomies.memoir.working ".Page.RelPermalink" "desc" }} + <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} + </ul> + </details> + <details> - <summary>College</summary> + <summary>College <span>({{ .Site.Taxonomies.memoir.college | len}})</span></summary> <ul>{{ range sort .Site.Taxonomies.memoir.college ".Page.RelPermalink" "desc" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> </details> <details> - <summary>Sixth Form</summary> + <summary>High School/Sixth Form <span>({{ .Site.Taxonomies.memoir.sixthform | len}})</span></summary> <ul>{{ range sort .Site.Taxonomies.memoir.sixthform ".Page.RelPermalink" "desc" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> </details> <details> - <summary>Junior School</summary> + <summary>Junior School <span>({{ .Site.Taxonomies.memoir.juniorschool | len}})</span></summary> <ul>{{ range sort .Site.Taxonomies.memoir.juniorschool ".Page.RelPermalink" "desc" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> </details> <details> - <summary>Nursery</summary> + <summary>Nursery <span>({{ .Site.Taxonomies.memoir.nursery | len}})</span></summary> <ul>{{ range sort .Site.Taxonomies.memoir.nursery ".Page.RelPermalink" "desc" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> |