limit the rss posts to 15

This commit is contained in:
Emi
2024-12-20 11:42:47 +01:00
parent 9916a75274
commit 523ef4ea75

View File

@@ -12,7 +12,7 @@ permalink: /rss.xml
<atom:link href="{{ site.url }}/rss.xml" rel="self" type="application/rss+xml" />
{% assign latest_posts = site.article | sort:"date" | reverse %}
{% for post in latest_posts limit:24 %}
{% for post in latest_posts limit:15 %}
<item>
<title>{{ post.title | escape }}</title>
<link>{{ site.url }}{{ post.url }}</link>