+[2014-02-16T20:13:41Z]kaffeebohneI always develop in an extra folder, so I just deleted some posts +[2014-02-16T22:44:35Z]lxsameerhow can i read yaml data of a post within a generator ? +[2014-02-16T23:33:36Z]pontikiposts are a collection on site.posts; site is passed into the generator +[2014-02-16T23:34:53Z]pontikiin each post, you access the front matter as post.data, which is a hash based on the yaml +[2014-02-16T23:35:18Z]pontikiso site.posts.each {|post| post.data[:title] } for example
but i don't know if it's implemented or how to do it
+[2014-02-17T02:13:12Z]clatugayeHi all +[2014-02-17T02:14:43Z]clatugayeIt is possible to extend Jekyll to define a custom collection of pages inside the site variable? Something like site.my_list_of_pages +[2014-02-17T02:15:33Z]clatugayeI'm able to do this using a filter, {% assign process_pages = site.pages | filter_process_pages %} +[2014-02-17T02:15:33Z]clatugaye{% for page in process_pages %} +[2014-02-17T02:15:34Z]clatugaye{% endfor %}