Add breadcrumb support
[sommitrealweird.git] / templates / base.html
index f76b66af50f824d8e45e7ea37980b49cd3a8671f..ebd630e66a246742a0fe55fc150150293aa26ba1 100644 (file)
                 </div>
             </div>
             <div id="content">
+                {% block breadcrumb %}
+                <div id="breadcrumb">
+                    <p>
+                    {% for item in content_breadcrumb %}
+                        {% if not forloop.last %}
+                        <a href="{{ item.url }}">{{ item.title }}</a> &gt;
+                        {%else %}
+                        {{ item.title }}
+                        {% endif %}
+                    {% endfor %}
+                    </p>
+                </div>
+                {% endblock %}
                 {% block submenu %}
                     {% if content_submenu %}
                     <div id="submenu">