diff --git a/ansibledoctor/templates/hugo-book/_toc.j2 b/ansibledoctor/templates/hugo-book/_toc.j2 index d0eaee9..152f1e8 100644 --- a/ansibledoctor/templates/hugo-book/_toc.j2 +++ b/ansibledoctor/templates/hugo-book/_toc.j2 @@ -2,7 +2,7 @@ {% if var %} * [Default Variables](#default-variables) {% for key, item in var | dictsort %} - * [{{ key }}](#{{ key | replace("_", "-") }}) + * [{{ key }}](#{{ key }}) {% endfor %} {% endif %} * [Dependencies](#dependencies)