summaryrefslogtreecommitdiff
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.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layouts/partials/docs/taxonomy.html b/layouts/partials/docs/taxonomy.html
new file mode 100644
index 0000000..da5ee06
--- /dev/null
+++ b/layouts/partials/docs/taxonomy.html
@@ -0,0 +1,19 @@
+<nav>
+ <ul>
+ {{ range $term, $_ := .Site.Taxonomies }}
+ {{ with $.Site.GetPage (printf "/%s" $term | urlize) }}
+ <li class="book-section-flat">
+ <span>{{ .Title | title | lower }}</span>
+ <ul>
+ {{ range .Pages }}
+ <li class="flex justify-between">
+ <a href="{{ .RelPermalink }}">{{ .Title | lower }}</a>
+ <span>{{ len .Pages | lower }}</span>
+ </li>
+ {{ end }}
+ </ul>
+ </li>
+ {{ end }}
+ {{ end }}
+ </ul>
+</nav>
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.