~netlandish/django-wiki

c0d5f251755b967e5a27e72bfe0c9394b9237313 — tschmidt-dev 11 years ago a7bbf18
fixed article_list macro sublist markup
1 files changed, 3 insertions(+), 5 deletions(-)

M wiki/plugins/macros/templates/wiki/plugins/templatetags/article_list.html
M wiki/plugins/macros/templates/wiki/plugins/templatetags/article_list.html => wiki/plugins/macros/templates/wiki/plugins/templatetags/article_list.html +3 -5
@@ 5,11 5,9 @@
{% if urlpath.children.count %}
    <div class="wiki-article-sublist"> 
        <ul>
            <li>
                {% for urlpath in urlpath.children.all %}
                    {% article_list urlpath %}
                {% endfor %}
            </li>
            {% for urlpath in urlpath.children.all %}
                <li>{% article_list urlpath %}</li>
            {% endfor %}
        </ul>
    </div>
{% endif %}