view MoinMoin/templates/link_list_item_panel.html @ 2960:b2417a0dd48f tip

trivial change to prevent traceback when 0 is passed to TableOfContents macro
author RogerHaase <haaserd@gmail.com>
date Thu, 18 Jun 2015 15:31:51 -0700
parents 54face4c8ae9
children
line wrap: on
line source
{% extends theme("show.html") %}
{% from "utils.html" import item_panel %}
{% block content %}
    {% if headline %}
        <h1>{{ headline }}</h1>
    {% endif %}
    {% if fq_names %}
        Total: {{ fq_names|count }}
        <ul class="moin-link-list">
            {% for fq_name in fq_names|sort(attribute='value') %}
                {{ item_panel(fq_name) }}
            {% endfor %}
        </ul>
    {% endif %}
{% endblock %}