tdreyno/middleman-blog — Issue #15: Allow posts to have a different source layout than their permalink
Author: bhollis
Created: 2011-12-14 07:42:07+00:00
State: open

I blog infrequently, so having a directory structure that matches my permalink structure means I'll have a lot of deep directories with only one post in each. I'd prefer if the blog extension at least had an option to work a bit more like Jekyll, where posts can all be stored in one folder, and then are rendered to folders for permalinks. For example, I might have a post:

2011-12-13-middleman-is-awesome.md

Which would produce the output file:

2011/12/13/middleman-is-awesome.html

Actually, since the date is in the frontmatter anyway, I should be able to structure my posts any way I like and still have them output in my preferred permalink structure. Perhaps a setting where I can give the regex I like - for me, "blog/*.md" is enough to specify my posts.