From 238434943e2de3aede3a423cafd8063b1ee153d7 Mon Sep 17 00:00:00 2001 From: Merox Date: Sun, 20 Oct 2024 13:12:59 +0300 Subject: [PATCH] Integrate newsletter Brevo + Popup on Blog posts --- layouts/_default/single.html | 3 + layouts/index.html | 1 - layouts/partials/newsletter.html | 160 +++++++++++++++++-------------- 3 files changed, 92 insertions(+), 72 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c0de7c41..1301062b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -158,4 +158,7 @@ {{ end }} +{{ if not (eq .Params.showNewsletter false) }} + {{- partial "newsletter.html" . -}} +{{ end }} {{ end }} diff --git a/layouts/index.html b/layouts/index.html index 92acffc5..ad851f50 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,5 +5,4 @@ {{ else }} {{ partial "partials/home/profile.html" . }} {{ end }} - {{- partial "newsletter.html" . -}} {{ end }} diff --git a/layouts/partials/newsletter.html b/layouts/partials/newsletter.html index 50322781..04267b46 100644 --- a/layouts/partials/newsletter.html +++ b/layouts/partials/newsletter.html @@ -3,99 +3,117 @@ - Banner Abonare Newsletter + Pagină cu Banner Modern Profesional -