mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-07 01:54:23 +00:00
fix: correct alignment of hero image
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user