Skip to content

Commit

Permalink
update lume 0.22.6
Browse files Browse the repository at this point in the history
  • Loading branch information
NeroBlackstone committed Jun 16, 2021
1 parent d6c3d6c commit aba2cc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/_data/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ disqus:
# Lume version this template should work.
# Check lume-blog-muse github repository to get template for newer lume.
version:
lume: 0.22.5
lume: 0.22.6
bulma: 0.9.2
2 changes: 1 addition & 1 deletion src/feed.tmpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function ({ site, search }, { md, url, date, htmlUrl }) {
items: []
};

for (const post of search.pages("type=posts").reverse()) {
for (const post of search.pages("type=posts", "date=desc", 10)) {
feed.items.push({
id: url(post.data.url, true),
url: url(post.data.url, true),
Expand Down
2 changes: 1 addition & 1 deletion src/feed.xml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<name>{{ site.author.name }}</name>
<email>{{ site.author.email }}</email>
</author>
{%- for post in search.pages("type=posts") | reverse %}
{%- for post in search.pages("type=posts", "date=desc", 10) %}
<entry>
<title>{{ post.data.title }}</title>
<link href="{{ post.data.url | url(true) }}"/>
Expand Down

0 comments on commit aba2cc0

Please sign in to comment.