[reproducible-website] 03/03: Sort blog entries in RSS feed by published date.

Chris Lamb chris at chris-lamb.co.uk
Tue Apr 24 10:17:03 CEST 2018


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository reproducible-website.

commit f7c3d41a90dd8fbb4067b234ab9c0e49dca249a5
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Apr 24 10:16:42 2018 +0200

    Sort blog entries in RSS feed by published date.
---
 blog/index.rss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blog/index.rss b/blog/index.rss
index 9161cb5..2212c1d 100644
--- a/blog/index.rss
+++ b/blog/index.rss
@@ -12,7 +12,7 @@ layout: none
     <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
     <generator>Jekyll v{{ jekyll.version }}</generator>
 
-    {% assign sorted = site.blog | sort: 'date' | reverse %}
+    {% assign sorted = site.blog | sort: 'published' | reverse %}
     {% for page in sorted limit:10 %}
     {% if page.published %}
       <item>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reproducible-website.git


More information about the rb-commits mailing list