diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-25 03:20:21 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-25 03:20:21 +0300 |
commit | 860ae3c81409ba0e49c224bc1431e1835d500196 (patch) | |
tree | 34d864b6e425e84b85c1c203d7d01f039b655a3e /_includes/pagination.html | |
parent | README update (diff) | |
download | sorting-algorithms-860ae3c81409ba0e49c224bc1431e1835d500196.tar.gz sorting-algorithms-860ae3c81409ba0e49c224bc1431e1835d500196.zip |
move common assets to common/, more info to config
Diffstat (limited to '_includes/pagination.html')
-rw-r--r-- | _includes/pagination.html | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/_includes/pagination.html b/_includes/pagination.html deleted file mode 100644 index aa2f034..0000000 --- a/_includes/pagination.html +++ /dev/null @@ -1,30 +0,0 @@ -{% if site.posts.size != 0 %} -<ul class="pagination"> - {% if paginator.previous_page %} - {% if paginator.previous_page == 1 %} - <li><a href="{{ site.baseurl }}/"><span class="glyphicon glyphicon-chevron-left"></span> Prev</a></li> - {% else %} - <li><a href="{{ site.baseurl }}/page{{ paginator.previous_page }}"><span class="glyphicon glyphicon-chevron-left"></span> Prev</a></li> - {% endif %} - {% else %} - <li class="disabled"><a href="#"><span class="glyphicon glyphicon-chevron-left"></span> Prev</a></li> - {% endif %} - {% if paginator.page == 1 %} - <li class="active"><a href="{{ site.baseurl }}/">1</a></li> - {% else %} - <li><a href="{{ site.baseurl }}/">1</a></li> - {% endif %} - {% for count in (2..paginator.total_pages) %} - {% if count == paginator.page %} - <li class="active"><a href="{{ site.baseurl }}/page{{ count }}">{{ count }}</a></li> - {% else %} - <li><a href="{{ site.baseurl }}/page{{ count }}">{{ count }}</a></li> - {% endif %} - {% endfor %} - {% if paginator.next_page %} - <li><a href="{{ site.baseurl }}/page{{ paginator.next_page }}">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 %} |