aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/jekyll-theme/posts/paginator.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-16 10:28:41 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-16 10:28:41 +0300
commitc20b13372e9b24fd6df42de1d98a54cc29635f4f (patch)
tree672ee1690d2489cb085595e8fb3efb4cf8cc0381 /_includes/jekyll-theme/posts/paginator.html
parentpaginator: add empty lines for readability (diff)
downloadjekyll-theme-c20b13372e9b24fd6df42de1d98a54cc29635f4f.tar.gz
jekyll-theme-c20b13372e9b24fd6df42de1d98a54cc29635f4f.zip
paginator: move the text-center block to the include
Diffstat (limited to '_includes/jekyll-theme/posts/paginator.html')
-rw-r--r--_includes/jekyll-theme/posts/paginator.html4
1 files changed, 4 insertions, 0 deletions
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 %}
+<div class="text-center">
+
<ul class="pagination">
{% if paginator.previous_page %}
<li>
@@ -54,4 +56,6 @@
{% endif %}
</ul>
+</div>
+
{% endif %}