From c8bbc25228a7d199ca6868db7375f1661c3ef6e4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 23 Mar 2022 16:52:53 +0300 Subject: _includes: move everything to jekyll-theme/ --- _includes/posts/paginator.html | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 _includes/posts/paginator.html (limited to '_includes/posts/paginator.html') diff --git a/_includes/posts/paginator.html b/_includes/posts/paginator.html deleted file mode 100644 index 471383c..0000000 --- a/_includes/posts/paginator.html +++ /dev/null @@ -1,36 +0,0 @@ -{% comment %} - Page links, inspired by the example at the bottom of - https://jekyllrb.com/docs/pagination/. -{% endcomment %} -{% if site.posts.size != 0 %} - {% comment %} - Link to page 1 is tricky. If site.paginate_path is used, then we cannot - simply use /. This is a silly attempt to get the proper page 1 link. - {% endcomment %} - {% if paginator.page == 1 %} - {% assign page1_url = page.url %} - {% else %} - {% assign page1_url = page.url | split: '/' | pop | join: '/' | append: '/' %} - {% endif %} - -{% endif %} -- cgit v1.2.3