summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default/memoirs.html
blob: 3fd2d31a9e7a90542f946f7cd092131108db0f51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{{ 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 <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>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 <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 <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>
	</details>
{{ end }}