diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/sidebar.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index 88cc1ae..854bab2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,7 +4,7 @@ <section class="categories"> <h2>Categories</h2> <ul> - {{ range $key, $value := .Site.Indexes.categories }} + {{ range $key, $value := .Site.Taxonomies.categories }} <li> <a href="/categories/{{ $key | urlize }}/">{{ $key | title }}</a> </li> diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index ec883ad..01babc6 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -13,7 +13,7 @@ <nav> <ul class="sidebar-nav"> <li><a href="/" itemprop="url">Home</a> </li> - {{ range $key, $value := .Site.Indexes.categories }} + {{ range $key, $value := .Site.Taxonomies.categories }} <li> <a href="/categories/{{ $key | urlize }}/">{{ $key | title }}</a> </li> |