diff options
author | Kyle Fuller <inbox@kylefuller.co.uk> | 2012-05-14 18:17:00 +0100 |
---|---|---|
committer | Kyle Fuller <inbox@kylefuller.co.uk> | 2012-05-14 18:28:45 +0100 |
commit | 9c349d82c60d06563e1c1fc52600179f702cebc2 (patch) | |
tree | 311ea3ead0833a85fbbc7463739a26bec7443934 /bootstrap2/templates/sidebar.html | |
parent | 2e0d1cae62b36ebef459e7b3ad5c8c83a0255c7f (diff) | |
download | pelican-themes-9c349d82c60d06563e1c1fc52600179f702cebc2.tar.gz |
Use object.url to get the url for author, category and tags
Diffstat (limited to 'bootstrap2/templates/sidebar.html')
-rw-r--r-- | bootstrap2/templates/sidebar.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap2/templates/sidebar.html b/bootstrap2/templates/sidebar.html index fb94733..ae2e009 100644 --- a/bootstrap2/templates/sidebar.html +++ b/bootstrap2/templates/sidebar.html @@ -19,7 +19,7 @@ <li class="nav-header"><h4><i class="icon-folder-close icon-large"></i>Categories</h4></li> {% for cat, null in categories %} <li> -<a href="{{ SITEURL }}/category/{{ cat }}.html"> +<a href="{{ SITEURL }}/{{ cat.url }}"> <i class="icon-folder-open icon-large"></i>{{ cat }} </a> </li> @@ -28,7 +28,7 @@ <li class="nav-header"><h4><i class="icon-tags icon-large"></i>Tags</h4></li> {% for tag in tag_cloud %} <li class="tag-{{ tag.1 }}"> - <a href="{{ SITEURL }}/tag/{{ tag.0 }}.html"> + <a href="{{ SITEURL }}/{{ tag.0.url }}"> <i class="icon-tag icon-large"></i>{{ tag.0 }} </a> </li> @@ -40,4 +40,4 @@ {% if SIDEBAR_CUSTOM %} {{ SIDEBAR_CUSTOM }} {% endif %} -</ul>
\ No newline at end of file +</ul> |