elf-notes/templates/macros/definition_body.html

10 lines
267 B
HTML
Raw Permalink Normal View History

2022-05-13 19:18:44 +00:00
{% macro definition_body(source) %}
<dl>
{% for entry in source %}
<dt><code>{{ entry.dt | safe }}</code></dt>
2022-05-13 19:18:44 +00:00
<dd>{{ entry.dd | safe }}</dd>
{% if entry.definitions %}{{ self::definition_body(source=entry.definitions) }}{% endif %}
{% endfor %}
</dl>
{% endmacro %}