aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_includes/jekyll-theme/posts/feed.html4
-rw-r--r--_includes/jekyll-theme/posts/paginator.html4
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 }}
</div>
{% endfor %}
- <div class="text-center">
- {% include jekyll-theme/posts/paginator.html %}
- </div>
+ {% 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 %}
+<div class="text-center">
+
<ul class="pagination">
{% if paginator.previous_page %}
<li>
@@ -54,4 +56,6 @@
{% endif %}
</ul>
+</div>
+
{% endif %}