diff options
author | Alan Pearce | 2017-05-06 17:21:02 +0200 |
---|---|---|
committer | Alan Pearce | 2017-05-06 17:21:02 +0200 |
commit | 26bd93c81f393642ab1c365673e5c54f89529d33 (patch) | |
tree | ce9436b705292896f59dc7ff37ac853ac399f4c6 /layouts | |
parent | 30dbd768eed25625e16b07f5791f282b266593bc (diff) | |
download | hyde-26bd93c81f393642ab1c365673e5c54f89529d33.tar.lz hyde-26bd93c81f393642ab1c365673e5c54f89529d33.tar.zst hyde-26bd93c81f393642ab1c365673e5c54f89529d33.zip |
feat: Replace categories with simple post listing
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/sidebar.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index e05be96..b9b0298 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -13,11 +13,7 @@ <nav> <ul class="sidebar-nav"> <li><a href="/" class="u-url url" itemprop="url">Home</a> </li> - {{ range $key, $value := .Site.Taxonomies.categories }} - <li> - <a href="/categories/{{ $key | urlize }}/">{{ $key | title }}</a> - </li> - {{ end }} + <li><a href="/post/" class="u-url url" itemprop="url">Posts</a> </li> {{ range .Site.Menus.main }} <li><a href="{{.URL}}"> {{ .Name }} </a></li> {{end}} |