Update paginations for posts

This commit is contained in:
agusmakmun
2016-04-19 19:56:30 +07:00
parent 793915a665
commit ea16046506

View File

@@ -6,7 +6,7 @@ layout: default
<h1>Stack Problems</h1> <h1>Stack Problems</h1>
<hr /> <hr />
<ol class="posts"> <ol class="posts">
{% for post in site.posts %} {% for post in paginator.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a> &raquo; <i><span>{{ post.date | date_to_string }}</span></i></li> <li><a href="{{ post.url }}">{{ post.title }}</a> &raquo; <i><span>{{ post.date | date_to_string }}</span></i></li>
{% endfor %} {% endfor %}
</ol> </ol>