Almost done - add replies, webmentions, finish rendering posts from wordpress

This commit is contained in:
Lewis Dale committed 2023-02-16 14:10:05 +00:00
1 parent 5b68b1278c
commit b5d04b7360
9 files changed
+208 -60

No files matched your search

+2 -2
View File
@@ -24,8 +24,8 @@ layout: base.njk
<h2>Recent Posts</h2>
<ul class="stack-2xs">
{% for post in collections.posts | reverse | take(3) %}
<li><a href="{{ post.data.url }}">{{ post.data.title }}</a> <time>{{ post.date | dateDisplay }}</time></li>
{% for post in posts | take(3) %}
<li><a href="/post/{{ post.slug }}">{{ post.title.rendered | safe }}</a> <time>{{ post.date | dateDisplay }}</time></li>
{% endfor %}
</ul>