James Walker
df332d5b2b
All checks were successful
continuous-integration/drone/push Build is passing
25 lines
701 B
Plaintext
25 lines
701 B
Plaintext
---
|
|
pagination:
|
|
data: collections.posts
|
|
size: 6
|
|
alias: posts
|
|
---
|
|
{% extends 'layouts/default.njk' %}
|
|
{% block content %}
|
|
{% set postslist = search.pages("type=post") %}
|
|
<section class="h-feed">
|
|
{% for post in postslist %}
|
|
<article class="h-entry">
|
|
<h2 class="p-name">
|
|
<a href="{{ post.url }}">{{ post.title }}</a>
|
|
</h2>
|
|
<div class="e-content">
|
|
{{ post.excerpt | safe }}
|
|
</div>
|
|
<time class="dt-published" datetime={{ post.date | date }} pubdate>
|
|
<a class="u-url text-gray-500 text-sm" href={{ post.url }}>{{ post.date | date }}</a>
|
|
</time>
|
|
</article>
|
|
{% endfor %}
|
|
</section>
|
|
{% endblock %} |