{% comment %} Check for preamble_toc first so empty
    s aren't drawn when it loops back through. {% endcomment %} {% with toc_depth=toc_depth|default:1 %} {% if preamble_toc %}
      {% for item in preamble_toc %}
    1. {{item.title.full}} {% with preamble_toc=item.children toc_depth=toc_depth|add:1 %} {% include "regulations/toc-preamble.html" %} {% endwith %}
    2. {% endfor %}
    {% endif %} {% endwith %}