Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/terms.html')
-rw-r--r--layouts/_default/terms.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
new file mode 100644
index 0000000..efce125
--- /dev/null
+++ b/layouts/_default/terms.html
@@ -0,0 +1,16 @@
+{{ define "main" }}
+ <article>
+ <h1>{{ .Title }}</h1>
+ <ul class="posts-list">
+ {{ range .Data.Terms.Alphabetical }}
+ <li class="posts-list-item">
+ <a class="posts-list-item-title" href="{{ .Page.Permalink }}">
+ {{ .Page.Title }}
+ </a>
+ {{ .Count }}
+ </li>
+ {{ end }}
+ </ul>
+ {{ partial "pagination.html" $ }}
+ </article>
+{{ end }}