changeset 1716:e8df85277123

Foobar theme layout.html pagepath block added
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Fri, 17 Aug 2012 17:20:58 +0530
parents 78a484e1d555
children cb93c4257fe7
files MoinMoin/themes/foobar/templates/layout.html
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/templates/layout.html	Fri Aug 17 03:45:00 2012 +0530
+++ b/MoinMoin/themes/foobar/templates/layout.html	Fri Aug 17 17:20:58 2012 +0530
@@ -119,22 +119,24 @@
         {%- endif %}
         <span id="moin-pagelocation">
             <span class="moin-pagepath">
+            {% block pagepath %}
                 {% for segment_name, segment_path, exists in theme_supp.location_breadcrumbs(item_name) -%}
                     {% if not loop.last -%}
                         <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
                             {{ segment_name|shorten_item_name }}
                         </a>
-			<span class="sep">/</span>
+                        <span class="sep">/</span>
                     {% else %}
-		        {% if title_name %}
+                        {% if title_name %}
                             {{ title_name }}
                         {% else %}
                         <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
                             {{ segment_name|shorten_item_name }}
                         </a>
-		        {%- endif %}
+                        {%- endif %}
                     {%- endif %}
                 {%- endfor %}
+            {% endblock %}
             </span>
         </span>
     </div>