Skip to content
Snippets Groups Projects
Commit b01a43ba authored by alexisben's avatar alexisben
Browse files

block class fix

parent e6571526
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
{{- if .image -}}
{{- $image_class = printf "image-%s" (partial "GetImageDirection" .image ) -}}
{{- end -}}
<div class="{{ $block_class }}{{ $image_class }}">
<div class="{{ $block_class }} {{ $image_class }}">
<div class="container">
<div class="block-content">
{{ partial "blocks/top.html" (dict
......
......@@ -8,7 +8,7 @@
{{- $is_carousel = true -}}
{{ end }}
{{ end }}
<div class="{{ $block_class }}{{ if $is_carousel}} with-carousel{{ end }}">
<div class="{{ $block_class }}{{ if $is_carousel }} with-carousel{{ end }}">
<div class="container">
<div class="block-content">
{{ partial "blocks/top.html" (dict
......
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