📎 Add minor improvements

This commit is contained in:
Yamila Moreno 2025-03-11 12:45:12 +01:00
parent 953f770fdd
commit 332657bd1b
5 changed files with 6 additions and 9 deletions

View file

@ -12,7 +12,7 @@ templateClass: tmpl-contributing-guide
{{ show_children(child) }}
{%- endif -%}
{%- if child.url == page.url -%}
{{ content | toc(tags=['h2', 'h3']) | safe }}
{{ content | toc(tags=['h2', 'h3']) | stripHash | safe }}
{%- endif -%}
</li>
{%- if loop.last -%}</ul>{%- endif -%}

View file

@ -12,7 +12,7 @@ templateClass: tmpl-user-guide
{{ show_children(child) }}
{%- endif -%}
{%- if child.url == page.url -%}
{{ content | toc(tags=['h2', 'h3']) | safe }}
{{ content | toc(tags=['h2', 'h3']) | stripHash | safe }}
{%- endif -%}
</li>
{%- if loop.last -%}</ul>{%- endif -%}