website/themes/hugo-theme-wave/layouts/_default/terms.html
2020-01-12 23:32:32 +01:00

30 lines
988 B
HTML

{{ partial "head" . }} {{ partial "header" . }}
<div id="container">
<div class="outer">
<section id="main">
<section class="layout-wrap">
<div class="layout-title">
<span>{{ .Title }}</span>
</div>
<div class="layout-wrap-inner list-categories">
<ul class="category-list">
{{ $data := .Data }} {{ range $key, $value := .Data.Terms.ByCount }}
<li class="category-list-item">
<a class="category-list-link" href="{{ $value.Name | urlize }}">{{ $value.Name }}</a>
<span class="category-list-count">{{ $value.Count }}</span>
</li>
{{ end }}
</ul>
</div>
</section>
</section>
{{ partial "sidebar" . }}
</div>
</div>
{{ partial "footer" . }}
</body>
</html>