From: Michael Tremer Date: Sat, 1 Sep 2018 12:21:27 +0000 (+0100) Subject: blog: Simplify markup for buttons below posts X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e7c23da0259cbcd5c41065d584d5c02d0f963b4;p=ipfire.org.git blog: Simplify markup for buttons below posts Signed-off-by: Michael Tremer --- diff --git a/src/templates/blog/modules/post.html b/src/templates/blog/modules/post.html index 7ca26cf1..bc82b240 100644 --- a/src/templates/blog/modules/post.html +++ b/src/templates/blog/modules/post.html @@ -25,18 +25,14 @@ {% raw post.html %} - {% if "lightningwirelabs.com" in post.tags and post.link %} - - {% end %} - - {% if post.release %} -
+
+ {% if "lightningwirelabs.com" in post.tags and post.link %} + + Go to Lightning Wire Labs + + {% end %} + + {% if post.release %} {{ _("Download %s now") % post.release }} @@ -44,6 +40,6 @@ {{ _("Donate") }} -
- {% end %} + {% end %} +