Fix planetfeed: Add page type to yaml

This commit is contained in:
Stefan Schlott 2016-02-29 10:12:18 +01:00
parent 1378ee2ae6
commit 33a00cda42
2 changed files with 2 additions and 0 deletions

View file

@ -58,6 +58,7 @@ blogposts['blogposts'].sort! do |a,b|
end
end
blogposts['blogposts'] = blogposts['blogposts'][0..19]
blogposts['kind'] = 'page'
# Output
File.open(blogposts_file, 'w+') {|f| f.write(blogposts.to_yaml) }