From c20b13372e9b24fd6df42de1d98a54cc29635f4f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 16 Apr 2022 10:28:41 +0300 Subject: paginator: move the text-center block to the include --- _includes/jekyll-theme/posts/feed.html | 4 +--- _includes/jekyll-theme/posts/paginator.html | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/_includes/jekyll-theme/posts/feed.html b/_includes/jekyll-theme/posts/feed.html index 1baea3c..f3bfe14 100644 --- a/_includes/jekyll-theme/posts/feed.html +++ b/_includes/jekyll-theme/posts/feed.html @@ -17,7 +17,5 @@ {{ post.excerpt | markdownify }} {% endfor %} -
- {% include jekyll-theme/posts/paginator.html %} -
+ {% include jekyll-theme/posts/paginator.html %} {% endif %} diff --git a/_includes/jekyll-theme/posts/paginator.html b/_includes/jekyll-theme/posts/paginator.html index 1525868..f61bc0b 100644 --- a/_includes/jekyll-theme/posts/paginator.html +++ b/_includes/jekyll-theme/posts/paginator.html @@ -18,6 +18,8 @@ {% assign page1_url = page.url | split: '/' | pop | join: '/' | append: '/' %} {% endif %} +
+ +
+ {% endif %} -- cgit v1.2.3