annabunches.net/_includes/post_list.html

19 lines
590 B
HTML

<ul class="post-list">
{% for post in site.posts limit:include.limit %}
{% if include.categories contains post.category %}
<li style="margin-top: 30px">
<h2 style="line-height: 1">
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
{{ post.title }}
</a>
<span class="post-meta">{{ post.date | date: "%Y-%m-%d" }}</span>
</h2>
{{ post.excerpt }}
<p>
<a href="{{ post.url | prepend: site.baseurl }}">Read More...</a>
</p>
</li>
{% endif %}
{% endfor %}
</ul>