aboutsummaryrefslogtreecommitdiffstats
path: root/aboutwilson/templates/base.html
diff options
context:
space:
mode:
authordm-wyncode <dm.wyncode@gmail.com>2016-09-10 18:32:51 +0000
committerdm-wyncode <dm.wyncode@gmail.com>2016-09-10 18:32:51 +0000
commite0f8100e8c8634c853389b5017d9294b317a666e (patch)
tree4b5f66bcfe2eb2be57b83643128585a7ad6c53f3 /aboutwilson/templates/base.html
parentf34142e64726702daf1da545fbcebd4c7f68157d (diff)
downloadpelican-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/templates/base.html')
-rw-r--r--aboutwilson/templates/base.html2
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>