diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/Brine/layouts/_default/baseof.html | 1 | ||||
-rw-r--r-- | themes/Brine/layouts/_default/memoirs.html | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/themes/Brine/layouts/_default/baseof.html b/themes/Brine/layouts/_default/baseof.html index 8fd4910..f626b7a 100644 --- a/themes/Brine/layouts/_default/baseof.html +++ b/themes/Brine/layouts/_default/baseof.html @@ -37,6 +37,7 @@ <li><a href="/reading-list/">Reading List</a></li> <li><a href="/hardware/">Hardware</a></li> <li><a href="/dreams/">Dreams</a></li> + <li><a href="/memoirs/">Memoirs</a></li> <li><a href="/languages/">Languages</a></li> <li><a href="/recipes/">Recipes</a></li> <li><a href="/status/">Server Status</a></li> 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 |