Fix planetfeed: Add page type to yaml
This commit is contained in:
parent
1378ee2ae6
commit
33a00cda42
2 changed files with 2 additions and 0 deletions
|
|
@ -81,3 +81,4 @@ blogposts:
|
||||||
date: 2015-08-06 18:53:05.000000000 Z
|
date: 2015-08-06 18:53:05.000000000 Z
|
||||||
title: Lustiges Tierleben
|
title: Lustiges Tierleben
|
||||||
url: http://blog.querulantin.de/serendipity/index.php?/archives/438-Lustiges-Tierleben.html
|
url: http://blog.querulantin.de/serendipity/index.php?/archives/438-Lustiges-Tierleben.html
|
||||||
|
kind: page
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,7 @@ blogposts['blogposts'].sort! do |a,b|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
blogposts['blogposts'] = blogposts['blogposts'][0..19]
|
blogposts['blogposts'] = blogposts['blogposts'][0..19]
|
||||||
|
blogposts['kind'] = 'page'
|
||||||
|
|
||||||
# Output
|
# Output
|
||||||
File.open(blogposts_file, 'w+') {|f| f.write(blogposts.to_yaml) }
|
File.open(blogposts_file, 'w+') {|f| f.write(blogposts.to_yaml) }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue