diff options
author | Peter | 2022-04-12 13:22:03 +0100 |
---|---|---|
committer | Peter | 2022-04-12 13:22:03 +0100 |
commit | 40738db41687047af6e5fef07df449bced950838 (patch) | |
tree | 4ff6efc1139de736a926997b724e9dd51a6fbba2 /themes/Brine/layouts/_default/memoirs.html | |
parent | 69b230e26f68ba05ce502fab6f91572475bc97a2 (diff) | |
download | blog.minskio.co.uk-40738db41687047af6e5fef07df449bced950838.tar.gz blog.minskio.co.uk-40738db41687047af6e5fef07df449bced950838.tar.bz2 blog.minskio.co.uk-40738db41687047af6e5fef07df449bced950838.zip |
Initial batch of memoirs and theme changes
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 |