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/feed.html | 23 ----------------------- _includes/posts/paginator.html | 36 ------------------------------------ 2 files changed, 59 deletions(-) delete mode 100644 _includes/posts/feed.html delete mode 100644 _includes/posts/paginator.html (limited to '_includes/posts') diff --git a/_includes/posts/feed.html b/_includes/posts/feed.html deleted file mode 100644 index 4b4ea8b..0000000 --- a/_includes/posts/feed.html +++ /dev/null @@ -1,23 +0,0 @@ -{% if site.posts.size == 0 %} -

Sorry, no posts have been added yet.

-{% else %} - {% for post in paginator.posts %} -
-
-

{{ post.title }}

- -
- {{ post.excerpt | markdownify }} -
- {% endfor %} -
- {% include posts/paginator.html %} -
-{% endif %} 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