changeset 2330:8a9261986b6a

Fixes issue #2, breadcrumbs dont have a trailing / at the end
author sharky93 <rishabhr123@gmail.com>
date Tue, 16 Jul 2013 23:36:47 +0530
parents 322841eed772
children a641c863e177
files MoinMoin/themes/basic/templates/layout.html
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/layout.html	Tue Jul 16 22:59:35 2013 +0530
+++ b/MoinMoin/themes/basic/templates/layout.html	Tue Jul 16 23:36:47 2013 +0530
@@ -124,7 +124,9 @@
                                    {{ item_name|shorten_item_name }}
                                 </a>
                             {%- endif %}
-                            <span class="divider">/</span>
+                            {% if loop.last is sameas false %}
+                                <span class="divider">/</span>
+                            {% endif %}
                           </li>
                         {% endfor %}
                     {% endif %}