aboutsummaryrefslogtreecommitdiff
path: root/layouts/taxonomy/taxonomy.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/taxonomy/taxonomy.html')
-rw-r--r--layouts/taxonomy/taxonomy.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/taxonomy/taxonomy.html b/layouts/taxonomy/taxonomy.html
index e69de29..91a7458 100644
--- a/layouts/taxonomy/taxonomy.html
+++ b/layouts/taxonomy/taxonomy.html
@@ -0,0 +1,22 @@
+{{ define "main" }}
+ {{ $paginator := .Paginate (where .Pages "Params.hidden" "ne" true) }}
+ {{ range sort .Paginator.Pages }}
+ <article class="markdown book-post">
+ <h2>
+ <a href="{{ .RelPermalink }}">{{ .Title }}</a>
+ </h2>
+ {{ partial "docs/post-meta" . }}
+ <p>
+ {{- .Summary -}}
+ {{ if .Truncated }}
+ <a href="{{ .RelPermalink }}">...</a>
+ {{ end }}
+ </p>
+ </article>
+ {{ end }}
+ {{ template "_internal/pagination.html" . }}
+{{ end }}
+
+{{ define "toc" }}
+ {{ partial "docs/taxonomy" . }}
+{{ end }}