We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad03f56 commit b75a564Copy full SHA for b75a564
1 file changed
layouts/shortcodes/image.html
@@ -10,14 +10,14 @@
10
{{ $width_mobile = .Get "width_mobile" }}
11
{{ end }}
12
13
-<div class="row mb-5 align-items-center" id={{ .Get "id" }}>
+<div class="row mb-5 justify-content-center align-items-center" id={{ .Get "id" }}>
14
{{ range (seq 1 4)}}
15
{{ if $.Get (print "image" .) }}
16
{{ $image := $.Get (print "image" .) | relURL }}
17
{{ $alt := $.Get (print "alt" .) | relURL }}
18
{{ $caption := $.Get (print "caption" .) | relURL }}
19
{{ $link := $.Get (print "link" .) | relURL }}
20
- <div class="col-lg-{{ $width_desktop }} col-{{ $width_mobile }} center-block ">
+ <div class="col-lg-{{ $width_desktop }} col-{{ $width_mobile }} center-block my-4 my-lg-0">
21
{{ if $link }}
22
<a href={{ $link }} target="_blank">
23
0 commit comments