Don't hardcode to a single taxonomy
This commit is contained in:
parent
0c1692e722
commit
152f673f13
@ -8,11 +8,13 @@
|
||||
{{ partial "nav.html" . }}
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
{{ $data := .Data }}
|
||||
|
||||
<div class="container" role="main">
|
||||
<article class="post-preview">
|
||||
<div class="list-group col-lg-4 col-lg-offset-4 col-md-6 col-md-offset-3">
|
||||
{{ range $key, $value := .Data.Terms.ByCount }}
|
||||
<a href="/tags/{{ $value.Name | urlize }}" class="list-group-item">
|
||||
<a href="/{{ $data.Plural }}/{{ $value.Name | urlize }}" class="list-group-item">
|
||||
{{ $value.Name }}<span class="badge">{{ $value.Count }}</span></a>
|
||||
{{ end }}
|
||||
</div>
|
||||
@ -22,4 +24,4 @@
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user