diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-05-07 02:32:33 +0000 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-05-07 02:32:33 +0000 |
commit | 22a21c142fd10f4caf0b89478f44bb4030f0c11b (patch) | |
tree | 4e581597fe7486b5ee21f605ce8acd0ba3163bd2 /_includes/common/paginator.html | |
parent | bind-mounts: rename the file (diff) | |
download | blog-22a21c142fd10f4caf0b89478f44bb4030f0c11b.tar.gz blog-22a21c142fd10f4caf0b89478f44bb4030f0c11b.zip |
use "remote" Jekyll theme
I moved _includes/, _layouts/, css/ to egor-tensin/jekyll-theme.
Diffstat (limited to '_includes/common/paginator.html')
-rw-r--r-- | _includes/common/paginator.html | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/_includes/common/paginator.html b/_includes/common/paginator.html deleted file mode 100644 index aaad762..0000000 --- a/_includes/common/paginator.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> Prev</a></li> - {% else %} - <li class="disabled"><a href="#"><span class="glyphicon glyphicon-chevron-left"></span> 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 <span class="glyphicon glyphicon-chevron-right"></span></a></li> - {% else %} - <li class="disabled"><a href="#">Next <span class="glyphicon glyphicon-chevron-right"></span></a></li> - {% endif %} -</ul> -{% endif %} |