actualites.html 647 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
    <li>
4 5
      {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
      <span class="post-meta">{{ post.date | date: date_format }} • {{ post.author }}</span>
Jeekajoo's avatar
Jeekajoo committed
6 7 8 9
        <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape | truncatewords: include.truncate }}</a>
    </li>
  {% endfor %}
</ul>
10 11 12
{% if include.cat.size > include.limit %}
<ul class="pager">
    <li class="next">
jeekajoo's avatar
jeekajoo committed
13
        <a href="{{ site.baseurl | append: include.cat_permalink }}">{{ include.previous_button_text }} &rarr;</a>
14 15 16
    </li>
</ul>
{% endif %}