Skip to content

Commit 7ba3c43

Browse files
committed
fix: correct alignment of hero image
1 parent 6b25fab commit 7ba3c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_partials/assets/hero-image.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{{ end }}
1818

1919
{{ if and (not $args.err) (or $args.image $args.icon) }}
20-
<div class="hero-image-container {{ if $args.image }}{{ with $args.justify }}d-flex justify-content-center justify-content-md-{{ . }}{{ end }}{{ end }}">
20+
<div class="hero-image-container {{ if $args.image }}d-flex justify-content-center {{ with $args.justify }} justify-content-md-{{ . }}{{ end }}{{ end }}">
2121
{{ partial "assets/featured-illustration.html" (dict
2222
"page" $args.page
2323
"icon" $args.icon

0 commit comments

Comments
 (0)