Skip to content
Snippets Groups Projects
Unverified Commit 98e1261c authored by Olivia Simonet's avatar Olivia Simonet Committed by GitHub
Browse files

Ajout d'une vérification dans le partial GetBlockClass (#559)

parent 1eed076a
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@
{{- $class = printf "%s block-%s--%s" $class .template .data.layout -}}
{{- end -}}
{{- $class = printf "%s %s" $class .html_class -}}
{{- if .html_class -}}
{{- $class = printf "%s %s" $class .html_class -}}
{{ end }}
{{- return $class -}}
\ No newline at end of file
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