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 %}