]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - templates/base.html
Update to 1.0 compatibility
[sommitrealweird.git] / templates / base.html
index 06cc632f01d257ad54a047be52c48c752e1d7a50..430b8c669211e4619b2d480ee3b289df9f4b5bd0 100644 (file)
                         <li><a href="{{ item.url }}">{{ item.title }}</a></li>
                         {% endfor %}
                         <li>Photos</li>
-                        <li>Blog</li>
+                        <li><a href="/blog/">Blog</a></li>
                     </ul>
                     {% endblock %}
                 </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 %}
-                <div id="submenu">
                     {% if content_submenu %}
-                    <ul>
-                        {% for item in content_submenu %}
-                        <li><a href="{{ item.url }}">{{ item.title }}</a></li>
-                        {% endfor %}
-                    </ul>
+                    <div id="submenu">
+                        <ul>
+                            {% for item in content_submenu %}
+                            <li><a href="{{ item.url }}">{{ item.title }}</a></li>
+                            {% endfor %}
+                        </ul>
+                    </div>
                     {% endif %}
-                </div>
                 {% endblock %}
                 {% block content %}
                 {{ content }}