1
我只想在主页上一次显示六个帖子,我该如何分页?分页在Jekyll + Skinnybones
我使用下面的显示代码;
<div class="row">
{% for post in site.posts %}
{% include post-grid.html %}
{% endfor %}
</div>
,这是后...
<div class="col-xs-12 col-md-4 post" itemscope itemtype="http://schema.org/Article">
<h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2>
</div>
我要显示在6一段时间,然后一些基本的自举风格分页。
任何人都可以帮忙吗?