From 6f7230c1a9902c97ff3e4de26cf352a4867d52cc Mon Sep 17 00:00:00 2001 From: Harald Pehl Date: Tue, 19 Mar 2024 15:34:44 +0100 Subject: [PATCH] Make the 'Older Posts' button stick to the bottom right --- _layouts/news.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/_layouts/news.html b/_layouts/news.html index 9daa9961..2970372f 100644 --- a/_layouts/news.html +++ b/_layouts/news.html @@ -9,7 +9,7 @@

WildFly Project News

- +
{% for post in paginator.posts %} @@ -37,9 +37,10 @@

- {% if paginator.previous_page %} - Newer Posts - {% endif %} + {%- capture visibility -%} + {%- if paginator.previous_page -%}visible{%- else -%}hidden{%- endif -%} + {%- endcapture -%} + Newer Posts {% if paginator.next_page %} Older Posts {% endif %}