aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common/pagination.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 05:02:53 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 05:02:53 +0300
commitace3dbcb62317034cb061edab90ad3e5f6eae041 (patch)
tree7b4c698e3c6ba6b75b279cde2ec5adfbc8be9aca /_includes/common/pagination.html
parentcode style (diff)
downloadjekyll-theme-ace3dbcb62317034cb061edab90ad3e5f6eae041.tar.gz
jekyll-theme-ace3dbcb62317034cb061edab90ad3e5f6eae041.zip
_includes: pagination.html -> paginator.html
Diffstat (limited to '_includes/common/pagination.html')
-rw-r--r--_includes/common/pagination.html23
1 files changed, 0 insertions, 23 deletions
diff --git a/_includes/common/pagination.html b/_includes/common/pagination.html
deleted file mode 100644
index aaad762..0000000
--- a/_includes/common/pagination.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{% if site.posts.size != 0 %}
-<ul class="pagination">
- {% if paginator.previous_page %}
- <li><a href="{{ site.baseurl }}{{ paginator.previous_page_path }}"><span class="glyphicon glyphicon-chevron-left"></span>&nbsp;Prev</a></li>
- {% else %}
- <li class="disabled"><a href="#"><span class="glyphicon glyphicon-chevron-left"></span>&nbsp;Prev</a></li>
- {% endif %}
- {% for page_number in (1..paginator.total_pages) %}
- {% if page_number == paginator.page %}
- <li class="active"><a href="#">{{ page_number }}</a></li>
- {% elsif page_number == 1 %}
- <li><a href="{{ site.baseurl }}/">{{ page_number }}</a></li>
- {% else %}
- <li><a href="{{ site.baseurl }}{{ site.paginate_path | replace: ':num', page_number }}">{{ page_number }}</a></li>
- {% endif %}
- {% endfor %}
- {% if paginator.next_page %}
- <li><a href="{{ site.baseurl }}{{ paginator.next_page_path }}">Next&nbsp;<span class="glyphicon glyphicon-chevron-right"></span></a></li>
- {% else %}
- <li class="disabled"><a href="#">Next&nbsp;<span class="glyphicon glyphicon-chevron-right"></span></a></li>
- {% endif %}
-</ul>
-{% endif %}