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

Correctif du bloc fonctionnalités (#898)

parent 4267cf9f
No related branches found
No related tags found
No related merge requests found
......@@ -12,16 +12,22 @@
<ul>
{{- range $features }}
<li>
<div>
{{- $heading_tag := partial "GetHeadingTag" (dict
"level" $block.ranks.children
"attributes" "class='name'"
) -}}
{{ $heading_tag.open -}}
{{ .title | safeHTML }}
{{ $heading_tag.close -}}
<div>{{ partial "PrepareHTML" .description }}</div>
</div>
{{ if or .title .description }}
<div>
{{ with .title }}
{{- $heading_tag := partial "GetHeadingTag" (dict
"level" $block.ranks.children
"attributes" "class='name'"
) -}}
{{ $heading_tag.open -}}
{{ . | safeHTML }}
{{ $heading_tag.close -}}
{{ end }}
{{ with .description }}
<div>{{ partial "PrepareHTML" . }}</div>
{{ end }}
</div>
{{ end }}
{{- if .image -}}
<figure {{- with or .alt .credit }} role="figure" aria-label="{{ . | plainify }}" {{ end }}>
{{- partial "commons/image.html"
......
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