about summary refs log tree commit diff stats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/sidebar.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 9a68142..d8acf04 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -10,6 +10,11 @@
 				<nav>
 					<ul class="sidebar-nav">
 						<li><a href="/">Home</a> </li>
+						{{ range $key, $value := .Site.Indexes.categories }}
+						<li>
+							<a href="/categories/{{ $key | urlize }}">{{ $key | title }}</a>
+						</li>
+						{{ end }}
 						{{ range .Site.Menus.main }}
 						<li><a href="{{.Url}}"> {{ .Name }} </a></li>
 						{{end}}