jrburke/delposto — pull request #8 by revin (2012-10-26 15:34:39+00:00)
Title: Allow posts to specify custom templates

Here's the code I talked about in issue #5. It's based on the current master, so if you decide to go whole hog and merge everything I've submitted, there'll be a conflict or two. If you *do* want to merge everything, let me know, and I can create a single big pull request that includes everything from my local main development branch.

Anyway, as you can see in the other issue, all this does is allow you to add a YAML header like `template: someTemplate`, and it returns the object at `templates.text.someTemplate_html`. You can do dotted or slashed paths to templates deeper in the hierarchy too: `template: path.to.post` or `template: path/to/post` return whatever's in `templates.text.path.to.post_html`.