Commit 65277964 authored by Yurizal Susanto's avatar Yurizal Susanto

Add posts count in taxonomy page

parent d8411e14
{{ partial "header" . }}
<section>
<section class="terms">
{{ partial "title" . }}
{{ with .Content }}{{.}}{{ end }}
<ul style="list-style: none;">
{{ range .Data.Terms.Alphabetical }}
<li style="display: inline;">
<a href="/{{$.Data.Plural}}/{{.Term}}">{{ .Term }}</a>
</li>
{{ end }}
{{ range .Data.Terms.Alphabetical }}
<li style="display: inline;">
<a href="/{{$.Data.Plural}}/{{.Term}}" style="">{{ .Term }}</a>
<span>({{ .Count }})</span>
</li>
{{ end }}
</ul>
</section>
{{ partial "footer" . }}
......@@ -181,6 +181,10 @@ ul.no-bullet {
display: inline;
}
}
.terms li>span {
color: #666;
font-family: monospace;
}
dd { margin-left: 2rem; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment