mirror of
https://github.com/carsonip/hugo-theme-minos
synced 2025-12-30 03:19:49 -08:00
Add taxonomy terms page
This commit is contained in:
25
layouts/_default/terms.html
Normal file
25
layouts/_default/terms.html
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{{ partial "head.html" . }}
|
||||||
|
<body>
|
||||||
|
<div id="container">
|
||||||
|
{{ partial "header.html" . }}
|
||||||
|
<section id="main" class="outer">
|
||||||
|
<section class="layout-wrap">
|
||||||
|
<div class="layout-title">
|
||||||
|
<span>{{ .Title }}</span>
|
||||||
|
</div>
|
||||||
|
<div class="layout-wrap-inner tag-cloud">
|
||||||
|
{{ $site := .Site }}
|
||||||
|
{{ $data := .Data }}
|
||||||
|
<ul>
|
||||||
|
{{ range $key, $value := .Data.Terms.Alphabetical }}
|
||||||
|
<li><a href="{{ $site.BaseURL }}/{{ $data.Plural }}/{{ $value.Name | urlize }}">{{ $value.Name }}</a>({{ $value.Count }})</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
{{ partial "footer.html" . }}
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user