From: Michael Tremer Date: Tue, 24 Oct 2023 16:55:07 +0000 (+0000) Subject: blog: Try something to encourage people to sign up & subscribe X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f956e337789b7b4a1e80fdb0a13cc08e98086bfb;p=ipfire.org.git blog: Try something to encourage people to sign up & subscribe Signed-off-by: Michael Tremer --- diff --git a/src/templates/blog/post.html b/src/templates/blog/post.html index ceb23428..f057fe5e 100644 --- a/src/templates/blog/post.html +++ b/src/templates/blog/post.html @@ -82,6 +82,30 @@ + {# Encourage people to sign up & subscribe... #} + {% if not current_user or not current_user.consents_to_promotional_emails %} +
+
+

+ {{ _("Do you like what you are reading?") }} + {{ _("Subscribe to our newsletter and don't miss out on the latest...") }} + +   + + {% if not current_user %} + + {{ _("Join Now") }} + + {% else %} + + {{ _("Subscribe Now") }} + + {% end %} +

+
+
+ {% end %} +