]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - templates/base.html
Make footer slightly nicer.
[sommitrealweird.git] / templates / base.html
index 384e601df7ffcb4c09243b2ac64e86d736f79001..f76b66af50f824d8e45e7ea37980b49cd3a8671f 100644 (file)
@@ -16,7 +16,7 @@
                     <ul>
                         <li><a href="/">Home</a></li>
                         {% for item in content_menu %}
-                        <li><a href="/{{ item.url }}">{{ item.title }}</a></li>
+                        <li><a href="{{ item.url }}">{{ item.title }}</a></li>
                         {% endfor %}
                         <li>Photos</li>
                         <li>Blog</li>
                 </div>
             </div>
             <div id="content">
+                {% block submenu %}
+                    {% if content_submenu %}
+                    <div id="submenu">
+                        <ul>
+                            {% for item in content_submenu %}
+                            <li><a href="{{ item.url }}">{{ item.title }}</a></li>
+                            {% endfor %}
+                        </ul>
+                    </div>
+                    {% endif %}
+                {% endblock %}
                 {% block content %}
                 {{ content }}
                 {% endblock %}