website/themes/hugo-theme-wave/layouts/_default/terms.html

29 lines
821 B
HTML
Raw Normal View History

2020-01-12 14:14:15 +01:00
{{ partial "head" . }} {{ partial "header" . }}
<div id="container">
2020-02-09 12:20:47 +01:00
<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>
2020-01-12 14:14:15 +01:00
</div>
{{ partial "footer" . }}
</body>
</html>