~xdavidwu/xdavidwu.link

d281a0ba8fdced528cd1fd65051d21900f01061d — Michael Rose 10 years ago 4526f3f
Remove category limit on post index
1 files changed, 2 insertions(+), 2 deletions(-)

M _layouts/home.html
M _layouts/home.html => _layouts/home.html +2 -2
@@ 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>