Fix categories links in sidebar

parent 28180b9e
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<h3>Categories:</h3> <h3>Categories:</h3>
{{ range $name, $taxonomy := .Site.Taxonomies.categories }} {{ range $name, $taxonomy := .Site.Taxonomies.categories }}
{{ $currentCatCount := len $taxonomy.Pages }} {{ $currentCatCount := len $taxonomy.Pages }}
<div class="sidelink"><a class="shadow" href="/tags/{{ $name | urlize }}">{{ $name }} ({{$currentCatCount}})</a></div> <div class="sidelink"><a class="shadow" href="/categories/{{ $name | urlize }}">{{ $name }} ({{$currentCatCount}})</a></div>
{{ end }} {{ end }}
</div> </div>
<div id="side-button" onClick="toggleSidebar();"> <div id="side-button" onClick="toggleSidebar();">
......
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