feat: refactor pagination implementation

This commit is contained in:
Cory Dransfeldt 2023-03-26 17:35:46 -07:00
parent ee77555c32
commit da793fd1cc
No known key found for this signature in database
196 changed files with 2498 additions and 36 deletions

View file

@ -9,14 +9,14 @@ permalink: /feed.xml
{{ collections.posts | rssLastUpdatedDate }}{% endblock %}
{% block entries %}
{% assign posts = collections.posts | reverse %}
{% for post in posts %}
{% for post in posts limit: 15 %}
<entry>
<title>{{ post.data.title }}</title>
<link href="{{ site.url }}{{ post.url }}" />
<updated>{{ post.date | date: "%m.%d.%Y" }}</updated>
<id>{{ site.url }}{{ post.url }}</id>
<content type="html">
{{ post.data.post_excerpt | markdown }}
{{ post.data.post_excerpt | markdown | escape }}
</content>
</entry>
{% endfor %}