Skip to content

Commit

Permalink
Fixed broken links for categories. Without the fix the URLs result in a
Browse files Browse the repository at this point in the history
404 status when a category link is clicked.
	modified:   aboutwilson/templates/base.html
  • Loading branch information
dm-wyncode committed Sep 10, 2016
1 parent f34142e commit e0f8100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aboutwilson/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h4>Author</h4>
<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>
Expand Down

0 comments on commit e0f8100

Please sign in to comment.