From 70e145641ef0d1f20052fa9fd9d24cc349b6de46 Mon Sep 17 00:00:00 2001 From: Simon C Date: Fri, 7 Oct 2022 22:25:03 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Changement=20de=20position=20des=20moda?= =?UTF-8?q?lit=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../meghna-hugo/layouts/partials/banner.html | 27 ++++++++++--------- themes/meghna-hugo/layouts/partials/cta.html | 4 +-- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/themes/meghna-hugo/layouts/partials/banner.html b/themes/meghna-hugo/layouts/partials/banner.html index 5ab846d..b27e5e3 100644 --- a/themes/meghna-hugo/layouts/partials/banner.html +++ b/themes/meghna-hugo/layouts/partials/banner.html @@ -6,20 +6,21 @@
- -
- {{ if .icon }} -
- +
+
+ {{ if .icon }} +
+ +
+ {{ end }} +

{{ .title | markdownify }}

+

{{ .content | markdownify }}

+ {{ if .button.enable }} + {{ with .button }} + {{ .label }} + {{ end }} + {{ end }}
- {{ end }} -

{{ .title | markdownify }}

-

{{ .content | markdownify }}

- {{ if .button.enable }} - {{ with .button }} - {{ .label }} - {{ end }} - {{ end }}
{{"" | safeHTML}} diff --git a/themes/meghna-hugo/layouts/partials/cta.html b/themes/meghna-hugo/layouts/partials/cta.html index 3b7a3ed..5a03bf4 100644 --- a/themes/meghna-hugo/layouts/partials/cta.html +++ b/themes/meghna-hugo/layouts/partials/cta.html @@ -7,8 +7,8 @@
-
-
+
+

{{ .title | markdownify }}