fix: correct alignment of hero image

This commit is contained in:
Mark Dumay
2025-09-30 11:52:05 +02:00
parent 6b25fab7bb
commit 7ba3c43523

View File

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