motyl

Opinionated blog-aware static site generator written in Ruby
Log | Files | Refs | README | LICENSE

commit 9c95d7c3310fc16530530934a54a3b138f6ea25b
parent a145b3e0253852a6a8d5593f367c64b35661f7a9
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue,  4 May 2021 14:50:15 +0200

Raise the default to 30 posts in the Atom feed.

Diffstat:
Mbin/motyl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/motyl b/bin/motyl @@ -114,7 +114,7 @@ data['posts'].sort! { |a, b| b['date'] <=> a['date'] } render('pages', templates, data) # Feed -data['feed'] = data['posts'][0..19] +data['feed'] = data['posts'][0..29] File.write('public/atom.xml', Mustache.render(templates['atom'], data)) status('Rendering atom.xml')