{% extends "base.html" %} {% block content %} {% set half = (card.attribute_rows|length + 1) // 2 %}
{% for rows in [card.attribute_rows[:half], card.attribute_rows[half:]] %} {% for short, name in rows %}{% endfor %}
缩写词条名称
{{ short }}{{ name }}
{% endfor %}
{% endblock %}