latest 17 messages by jmeb

+ [2013-10-10T17:19:20Z] jmeb jaybe: dumb workaround: put the directory code not in the template but in the post...renders.
+ [2013-10-10T16:51:07Z] jmeb will do....trying a few other options first.
+ [2013-10-10T16:45:26Z] jmeb i just don't know if you can pass page. variables inside liquid syntax in any way
+ [2013-10-10T16:44:33Z] jmeb it works if you put the directory path right in the template, but obviously i want to read it from the post
+ [2013-10-10T16:44:06Z] jmeb where page.photos is specified directory in the top matter of a post
+ [2013-10-10T16:43:38Z] jmeb alt="{{ file.name }}" />
+ [2013-10-10T16:43:38Z] jmeb {% enddirectory %}
+ [2013-10-10T16:43:38Z] jmeb <img src="{{ file.url }}"
+ [2013-10-10T16:43:38Z] jmeb {% directory path: page.photos exclude: private %}
+ [2013-10-10T16:43:36Z] jmeb dead simple:
+ [2013-10-10T16:42:14Z] jmeb jaybe: plugin is dead easy, but not sure how to pass the page.directory variable into the directory path
+ [2013-10-10T16:23:58Z] jmeb nice, is this yours? basically all i think i'd need to add is a way to get the directory from the post YAML
+ [2013-10-10T16:20:34Z] jmeb certainly. I'm going to try to implement it as a plugin.
+ [2013-10-10T16:16:23Z] jmeb you're quicker thank I. danke.
+ [2013-10-10T16:14:50Z] jmeb basically i want to generate a list of image files, then do a little Liquid 'for' loop.
+ [2013-10-10T16:14:01Z] jmeb jaybe: thanks for the lead.
+ [2013-10-10T16:10:26Z] jmeb mornin' all. I'm a relativey rb/jekyll newbie, anyone by chance have an example of plugin that gets a list of files from a directory specified in a post?