aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/taxonomy.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/docs/taxonomy.html')
-rw-r--r--layouts/partials/docs/taxonomy.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layouts/partials/docs/taxonomy.html b/layouts/partials/docs/taxonomy.html
new file mode 100644
index 0000000..f2c00d5
--- /dev/null
+++ b/layouts/partials/docs/taxonomy.html
@@ -0,0 +1,20 @@
+<aside class="book-toc fixed">
+<nav>
+ <ul>
+ {{ range $term, $_ := .Site.Taxonomies }}
+ {{ with $.Site.GetPage (printf "/%s" $term) }}
+ <li class="book-section-flat">
+ <strong>{{ .Title | title }}</strong>
+ <ul>
+ {{ range .Pages }}
+ <li>
+ <a href="{{ .RelPermalink }}">{{ .Title }}</a>
+ </li>
+ {{ end }}
+ </ul>
+ </li>
+ {{ end }}
+ {{ end }}
+ </ul>
+</nav>
+</aside>