mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 14:38:29 +02:00
📎 Add minor improvements
This commit is contained in:
parent
953f770fdd
commit
332657bd1b
5 changed files with 6 additions and 9 deletions
|
@ -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 -%}
|
||||
|
|
|
@ -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 -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue