limit posts in RSS to 7

This commit is contained in:
Set Hallstrom 2020-09-25 13:47:32 +02:00
parent ac5930ea54
commit 7a1566a8fc

View file

@ -35,7 +35,7 @@ title : The Basspistol RSS Feed
<itunes:category text="Music">
</itunes:category>
{% for post in site.posts %}
{% for post in site.posts limit: 7 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{% if post.link %}{{ post.link }}{% else %}{{ site.url }}{{ post.url }}{% endif %}</link>