transform toc anchors to get it working with hugo

This commit is contained in:
Robert Kaussow 2019-11-27 15:37:13 +01:00
parent 7f03e0c284
commit 5da5539254

View File

@ -2,7 +2,7 @@
{% if var %} {% if var %}
* [Default Variables](#default-variables) * [Default Variables](#default-variables)
{% for key, item in var | dictsort %} {% for key, item in var | dictsort %}
* [{{ key }}](#{{ key }}) * [{{ key }}](#{{ key | replace("_", "-") }})
{% endfor %} {% endfor %}
{% endif %} {% endif %}
* [Dependencies](#dependencies) * [Dependencies](#dependencies)