diff options
author | dm-wyncode <dm.wyncode@gmail.com> | 2016-09-10 18:32:51 +0000 |
---|---|---|
committer | dm-wyncode <dm.wyncode@gmail.com> | 2016-09-10 18:32:51 +0000 |
commit | e0f8100e8c8634c853389b5017d9294b317a666e (patch) | |
tree | 4b5f66bcfe2eb2be57b83643128585a7ad6c53f3 /aboutwilson | |
parent | f34142e64726702daf1da545fbcebd4c7f68157d (diff) | |
download | pelican-themes-e0f8100e8c8634c853389b5017d9294b317a666e.tar.gz |
Fixed broken links for categories. Without the fix the URLs result in a
404 status when a category link is clicked.
modified: aboutwilson/templates/base.html
Diffstat (limited to 'aboutwilson')
-rw-r--r-- | aboutwilson/templates/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aboutwilson/templates/base.html b/aboutwilson/templates/base.html index a427c30..8c4ba57 100644 --- a/aboutwilson/templates/base.html +++ b/aboutwilson/templates/base.html @@ -68,7 +68,7 @@ <h4>Categories</h4> <ul class="list-unstyled my-list-style"> {% for cat, art in categories %} - <li><a href="{{SITEURL}}/category/{{cat | replace(" ", "-") }}.html">{{cat}} ({{art | count}})</a></li> + <li><a href="{{SITEURL}}/category/{{cat | replace(" ", "-") | lower }}.html">{{cat}} ({{art | count}})</a></li> {% endfor %} </ul> </div> |