summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorPeter2022-04-12 13:22:03 +0100
committerPeter2022-04-12 13:22:03 +0100
commit40738db41687047af6e5fef07df449bced950838 (patch)
tree4ff6efc1139de736a926997b724e9dd51a6fbba2 /themes
parent69b230e26f68ba05ce502fab6f91572475bc97a2 (diff)
downloadblog.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')
-rw-r--r--themes/Brine/layouts/_default/baseof.html1
-rw-r--r--themes/Brine/layouts/_default/memoirs.html30
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