From: Michael Tremer Date: Wed, 4 Mar 2026 16:45:39 +0000 (+0000) Subject: blog: Redesign the newsletter box X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=0c0c47645e22da78e77f98783cb560bd4d46566d;p=ipfire.org.git blog: Redesign the newsletter box Signed-off-by: Michael Tremer --- diff --git a/src/templates/blog/index.html b/src/templates/blog/index.html index dfde853c..3d883e13 100644 --- a/src/templates/blog/index.html +++ b/src/templates/blog/index.html @@ -44,30 +44,50 @@ {% module BlogList(posts, latest=latest_post) %} -
- {# Show a button to sign up for anonymous users #} - {% if not current_user %} - + {# Encourage people to subscribe #} + {% if not current_user or not current_user.consents_to_promotional_emails %} +
+
+
+
+

+ Newsletter +

+ +

+ + Get new posts and release notes delivered + straight to your inbox. No spam. + +

+
+ + {# Show a button to sign up for anonymous users #} + {% if not current_user %} + - {# Show a button to subscribe if users are logged in, but not yet subscribed #} - {% elif current_user and not current_user.consents_to_promotional_emails %} -
- - - - - {{ _("Subscribe to our Newsletter") }} - + {# Show a button to subscribe if users are logged in, but not yet subscribed #} + {% elif current_user and not current_user.consents_to_promotional_emails %} + + {% end %} +
- {% end %} -
+
+ {% end %}
{# Show links to older years... #}