actualites.html 551 Bytes
Newer Older
Jeekajoo's avatar
Jeekajoo committed
1
<ul class="post-list">
2
  {% for post in include.cat limit:include.limit %}
Jeekajoo's avatar
Jeekajoo committed
3 4 5 6 7 8
    <li>
      <span class="post-meta">{{ post.date | date: "%d/%m/%Y" }} • {{ post.author }}</span>
        <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape | truncatewords: include.truncate }}</a>
    </li>
  {% endfor %}
</ul>
9 10 11 12 13 14 15
{% if include.cat.size > include.limit %}
<ul class="pager">
    <li class="next">
        <a href="{{ site.baseurl | append: include.cat_permalink }}">{{ include.button }} &rarr;</a>
    </li>
</ul>
{% endif %}