feat: refactor pagination implementation
This commit is contained in:
parent
ee77555c32
commit
da793fd1cc
196 changed files with 2498 additions and 36 deletions
|
@ -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 %}
|
||||
|
|
Reference in a new issue