sidebar.html 663 Bytes
<div class="side-content">
	<h3>Tags:</h3>
  	{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
  		{{ $currentTagCount := len $taxonomy.Pages }}
  		<div class="sidelink"><a class="shadow" href="/tags/{{ $name | urlize }}">{{ $name }} ({{$currentTagCount}})</a></div>
  	{{ end }}
  	<h3>Categories:</h3>
  	{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
     	{{ $currentCatCount := len $taxonomy.Pages }}
     	<div class="sidelink"><a class="shadow" href="/categories/{{ $name | urlize }}">{{ $name }} ({{$currentCatCount}})</a></div>
	{{ end }}
</div>
<div id="side-button" onClick="toggleSidebar();">
	<div class="bar-button"></div>
</div>