aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/posts.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-30 04:01:16 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-30 04:01:16 +0300
commitb0284c6eef0089d2a9bf861196bcd7c81cb4000b (patch)
tree2a72a47a547ac216245fda4fe12b930fa419a0e2 /posts.html
parentfix links, page titles & icons (diff)
downloadsorting-algorithms-b0284c6eef0089d2a9bf861196bcd7c81cb4000b.tar.gz
sorting-algorithms-b0284c6eef0089d2a9bf861196bcd7c81cb4000b.zip
pagination doesn't work on anything but index.html
Diffstat (limited to 'posts.html')
-rw-r--r--posts.html22
1 files changed, 0 insertions, 22 deletions
diff --git a/posts.html b/posts.html
deleted file mode 100644
index 14cc004..0000000
--- a/posts.html
+++ /dev/null
@@ -1,22 +0,0 @@
----
-title: Posts
-layout: sidebar
-groups:
- - navbar
-navbar_link: <span class="glyphicon glyphicon-th-list"></span>&nbsp;Posts
----
-{% if site.posts.size == 0 %}
- <p class="h3">Sorry, no posts have been added yet.</p>
- <p class="text-muted">But I've made quite a few <a href="{{ site.baseurl }}/index.html">plots</a> which you might want to check out.</p>
- <hr/>
-{% else %}
- {% for post in paginator.posts %}
- <h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
- <p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date_to_long_string }}</p>
- <p>{{ post.excerpt }}</p>
- <hr/>
- {% endfor %}
- <div class="text-center">
- {% include common/pagination.html %}
- </div>
-{% endif %}