diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-30 04:01:16 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-30 04:01:16 +0300 |
commit | b0284c6eef0089d2a9bf861196bcd7c81cb4000b (patch) | |
tree | 2a72a47a547ac216245fda4fe12b930fa419a0e2 /posts.html | |
parent | fix links, page titles & icons (diff) | |
download | sorting-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.html | 22 |
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> 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 %} |