Rename "post" to "entry" (but not in collections)

This commit is contained in:
Gil 2025-05-12 08:40:52 -05:00
parent 3b922309dd
commit b8472db2b7

View file

@ -11,10 +11,10 @@ eleventyNavigation:
# Journal
All my posts.
All my journal entries.
<ol>
{% for post in collections.post reversed %}
<li>{{ post.date | date: "%Y-%m-%d" }}: <a href="{{ post.url }}">{{ post.data.title }}</a></li>
{% for entry in collections.post reversed %}
<li>{{ entry.date | date: "%Y-%m-%d" }}: <a href="{{ entry.url }}">{{ entry.data.title }}</a></li>
{% endfor %}
</ol>