Skip to content

Commit 0ea1765

Browse files
Increase RSS feed to 50 last entries
Also update property name to latest from jekyll-feed Receiving only the last 10 is detremental for people only occasionally fetching RSS feeds through their reader. We could go infinite but 50 bring up back 6 months in the past that is a good start.
1 parent a43b4dc commit 0ea1765

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,5 @@ jekyll-archives:
239239

240240

241241
############################################################
242+
feed:
243+
posts_limit: 50

feed.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ layout: null
1010
<link>{{ site.url }}</link>
1111
<description>{{ site.description | xml_escape }}</description>
1212
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
13-
{% for post in site.posts limit:10 %}
13+
{% assign posts_limit = site.feed.posts_limit | default: 10 %}
14+
{% for post in site.posts limit: posts_limit %}
1415
<item>
1516
<title>{{ post.title | xml_escape }}</title>
1617
<link>

0 commit comments

Comments
 (0)