limited atom feed to 20 most recent items

This commit is contained in:
Brandon Mathis 2011-07-31 12:02:28 -04:00
parent 247105c833
commit 3525825e90

View File

@ -16,7 +16,7 @@ layout: nil
{% endif %} {% endif %}
</author> </author>
{% for post in site.posts %} {% for post in site.posts limit: 20 %}
<entry> <entry>
<title>{{ post.title }}</title> <title>{{ post.title }}</title>
<link href="{{ site.url }}{{ post.url }}"/> <link href="{{ site.url }}{{ post.url }}"/>