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

11 lines
242 B
Django/Jinja

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