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一段時間,然後一些基本的自舉風格分頁。
任何人都可以幫忙嗎?