Skip to content
Snippets Groups Projects
Unverified Commit c8ada633 authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Bloc contact : utiliser le `rank.children` pour les niveaux de titre (#821)

parent 0328da49
No related branches found
No related tags found
No related merge requests found
......@@ -11,10 +11,7 @@
"description" .description
)}}
{{ $heading_rank := $block.ranks.self }}
{{ if $block.title }}
{{ $heading_rank = $block.ranks.self | add 1 }}
{{ end }}
{{ $heading_rank := $block.ranks.children }}
{{ $heading_name := partial "GetHeadingTag" ( dict
"level" $heading_rank
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment