awestruct/awestruct — pull request #179 by emmanuelbernard (2012-09-25 21:20:28+00:00)
Title: Let Posts extension retrieve posts from subdirectories

Do not integrate just yet.

## what does it do

For big blogs, it becomes annoying to have all entries in a single directory. This change let's you do just that. All blog directly or indirectly under `path_prefix`. Note that from the output point of view nothing changes and all blog posts are seen as under `path_prefix`.

## How to offer the option

Unfortunately Posts's initialize method does not use the variable params pattern. So I'm not sure how to add an option here. Anyone more familiar with Ruby can offer advice?

On the other hand, I suspect noone has put elements in subdirectories so we could simply not offer the option and always use the new approach.

Thoughts?