Remove category limit on post index
This commit is contained in:
parent
4526f3ffa7
commit
d281a0ba8f
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@
|
|||
</div>
|
||||
|
||||
<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
|
||||
<h3><a href="{{ site.url}}/articles">Articles</a></h3>
|
||||
{% for post in site.categories.articles limit:5 %}
|
||||
<h3><a href="{{ site.url}}/articles/">Articles</a></h3>
|
||||
{% for post in site.posts limit:5 %}
|
||||
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
|
||||
<h2 itemprop="headline"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h2>
|
||||
<p itemprop="text">{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
|
||||
|
|
Loading…
Reference in a new issue