diff options
Diffstat (limited to 'themes/Brine/layouts/_default/memoirs.html')
-rw-r--r-- | themes/Brine/layouts/_default/memoirs.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/themes/Brine/layouts/_default/memoirs.html b/themes/Brine/layouts/_default/memoirs.html new file mode 100644 index 0000000..6b6fb86 --- /dev/null +++ b/themes/Brine/layouts/_default/memoirs.html @@ -0,0 +1,30 @@ +{{ define "main" }} <h1>{{ .Title }}</h1> + {{ .Content }} + <details> + <summary>College</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> + <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> + <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> + <ul>{{ range sort .Site.Taxonomies.memoir.nursery ".Page.RelPermalink" "desc" }} + <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} + </ul> + </details> +{{ end }}
\ No newline at end of file |