]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - templates/base.html
Reformat second menu bar to make it look slightly nicer.
[sommitrealweird.git] / templates / base.html
index 06cc632f01d257ad54a047be52c48c752e1d7a50..f76b66af50f824d8e45e7ea37980b49cd3a8671f 100644 (file)
             </div>
             <div id="content">
                 {% block submenu %}
             </div>
             <div id="content">
                 {% block submenu %}
-                <div id="submenu">
                     {% if content_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 %}
                     {% endif %}
-                </div>
                 {% endblock %}
                 {% block content %}
                 {{ content }}
                 {% endblock %}
                 {% block content %}
                 {{ content }}