Skip to content

Commit

Permalink
limit the rss posts to 15
Browse files Browse the repository at this point in the history
  • Loading branch information
coppolaemilio committed Dec 20, 2024
1 parent 9916a75 commit 523ef4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 523ef4e

Please sign in to comment.