From: Michael Tremer Date: Wed, 4 Mar 2026 16:52:01 +0000 (+0000) Subject: blog: Move the subscribe option into the header X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0e5e517eb332cffefad63603b3aed2ad48eb734;p=ipfire.org.git blog: Move the subscribe option into the header Signed-off-by: Michael Tremer --- diff --git a/src/templates/blog/index.html b/src/templates/blog/index.html index 3d883e13..f17e8240 100644 --- a/src/templates/blog/index.html +++ b/src/templates/blog/index.html @@ -16,79 +16,79 @@
-

- IPFire Blog -

+
+
+

+ IPFire Blog +

-
- {% if q %} - {{ _("Search Results for '%s'") % q }} - {% else %} - Releases, security updates, and stories from the IPFire community +
+ {% if q %} + {{ _("Search Results for '%s'") % q }} + {% else %} + Releases, security updates, and stories from the IPFire community + {% end %} +
+
+ + {# 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 %} + + {% end %} +
+
+
{% end %} - +
-
-
- {% if q and not posts %} -
- {{ _("No Results Found For '%s'") % q }} -
- {% end %} - - {% module BlogList(posts, latest=latest_post) %} + {% if q and not posts %} +
+ {{ _("No Results Found For '%s'") % q }}
+ {% end %} - {# 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 %} - - {% end %} -
-
-
- {% end %} -
+ {% module BlogList(posts, latest=latest_post) %} {# Show links to older years... #} {% module BlogHistoryNavigation() %}