<dl class="glossary">
  {% for term in terms %}
    <dt>{{ term|capfirst }}</dt>
    <dd>{{ term.definition|safe }}
        {% if term.url and term.definition %}<br />{%endif %}
        {{ term.url|urlizetrunc:40 }}</dd>
  {% endfor %}
</dl>
