From b2fc2ab3cc6db986fe3a7a40e3a05cf8b829b9d0 Mon Sep 17 00:00:00 2001 From: neko Date: Tue, 13 Apr 2021 19:42:19 +0200 Subject: [PATCH] made page display more clear if more than 2 pages exist --- blog/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/index.html b/blog/index.html index b5df3c3..0d28d43 100755 --- a/blog/index.html +++ b/blog/index.html @@ -11,6 +11,6 @@ layout: page-screen {% if paginator.total_pages > 1 %} {% if paginator.page == 1 %}

Page {{paginator.page}} »

{% elsif paginator.page == paginator.total_pages %}

« Page {{paginator.page}}

- {% else %}

« {{paginator.page}} »

+ {% else %}

« Page {{paginator.page}} of {{paginator.total_pages}} »

{% endif %} {% endif %}