diff options
Diffstat (limited to '_includes/blog-list.njk')
| -rw-r--r-- | _includes/blog-list.njk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/blog-list.njk b/_includes/blog-list.njk index 8c1a6ed..9345954 100644 --- a/_includes/blog-list.njk +++ b/_includes/blog-list.njk @@ -1,6 +1,6 @@ -<div> {% for post in collections.blog | reverse %} +<div> {% for post in collections.blog | reverse %} {% if not limit or loop.index <= limit %} <a href="{{ post.url }}" class="blogpost"> <h3>{{ post.data.title }}</h3> <small>{{ post.date | date }}<span style="float:right;">{{ post.data.keywords }} | {{ post.url }}</span></small> - </a><br> {% endfor %} + </a><br> {% endif %} {% endfor %} </div> |
