From a4f799c57f37de51f6568eced7a25ac3f0cc0745 Mon Sep 17 00:00:00 2001 From: MJacred Date: Mon, 6 Feb 2023 21:30:41 +0100 Subject: [PATCH] In hero.html: if no image referenced, show header text horizontally centered using page width, instead of using columns --- layouts/partials/hero.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index ef527ddf..3a0efd6f 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -8,8 +8,13 @@
+ {{- if $image }}
+ {{- else }} +
+
+ {{- end }}

{{ $title }}

@@ -18,18 +23,21 @@

{{ . }}

{{ end }} + {{- if $buttonText }}

{{ $buttonText }}

+ {{- end }}
- + {{- if $image }}
Description
+ {{- end }}