ansible-doctor/ansibledoctor/templates/hugo-book/_toc.j2

11 lines
222 B
Django/Jinja

{% set var = role.var | default({}) %}
{% if var %}
* [Default Variables](#default-variables)
{% for key, item in var | dictsort %}
* [{{ key }}](#{{ key }})
{% endfor %}
{% endif %}
* [Dependencies](#dependencies)
---