fix: feed data

This commit is contained in:
Cory Dransfeldt 2023-05-09 12:30:25 -07:00
parent 54475a70ea
commit 3fbefc55cd
No known key found for this signature in database
7 changed files with 10 additions and 23 deletions

View file

@ -5,8 +5,7 @@ permalink: /feed.xml
{% layout "./_includes/feed.liquid" %}
{% block title %}All posts • Cory Dransfeldt{% endblock %}
{% block self %}all.xml{% endblock %}
{% block update %}
{{ collections.posts | rssLastUpdatedDate }}{% endblock %}
{% block update %}{{ collections.posts[0].date | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}
{% block entries %}
{% assign posts = collections.posts | reverse %}
{% for post in posts limit: 15 %}
@ -20,4 +19,4 @@ permalink: /feed.xml
</content>
</entry>
{% endfor %}
{% endblock %}
{% endblock %}