diff options
author | Alan Pearce | 2014-07-18 20:22:16 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-18 20:22:16 +0100 |
commit | 5e1d1e5946c3517c6bc33a300d0f181e9accbabf (patch) | |
tree | 14a14a81be6f7f82f9218f96971e8920caa6c22a | |
parent | 9bd89b4835e36a88438930e24de7ea06bda7ad7e (diff) | |
download | hyde-5e1d1e5946c3517c6bc33a300d0f181e9accbabf.tar.lz hyde-5e1d1e5946c3517c6bc33a300d0f181e9accbabf.tar.zst hyde-5e1d1e5946c3517c6bc33a300d0f181e9accbabf.zip |
Use correct category URLs
-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 867eb66..74577ac 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@ <ul> {{ range $key, $value := .Site.Indexes.categories }} <li> - <a href="/categories/{{ $key | urlize }}">{{ $key | title }}</a> + <a href="/categories/{{ $key | urlize }}/">{{ $key | title }}</a> </li> {{ end }} </ul> diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 8f2da27..7cd5255 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -12,7 +12,7 @@ <li><a href="/">Home</a> </li> {{ range $key, $value := .Site.Indexes.categories }} <li> - <a href="/categories/{{ $key | urlize }}">{{ $key | title }}</a> + <a href="/categories/{{ $key | urlize }}/">{{ $key | title }}</a> </li> {{ end }} {{ range .Site.Menus.main }} |