Fix wrong HTML structure ul>li

This commit is contained in:
Emmanuel BALLERY 2014-04-24 22:59:12 +02:00
parent c78466bbb9
commit f2b606fc23

View File

@ -3,8 +3,9 @@
{% block content %} {% block content %}
{% for section, sections in resources %} {% for section, sections in resources %}
{% if section != '_others' %} {% if section != '_others' %}
<div id="section"> <li id="section">
<h1>{{ section }}</h1> <h1>{{ section }}</h1>
<ul>
{% endif %} {% endif %}
{% for resource, methods in sections %} {% for resource, methods in sections %}
<li class="resource"> <li class="resource">
@ -27,7 +28,8 @@
</li> </li>
{% endfor %} {% endfor %}
{% if section != '_others' %} {% if section != '_others' %}
</div> </ul>
</li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endblock content %} {% endblock content %}