tbranyen/combyne — pull request #58 by kadamwhite (2014-10-15 20:55:38+00:00)
Title: Support passing partials a filtered context object

@tbranyen, here's my use-case: I have a partial that is used to render an article's banner image in a standardized manner. However, depending on the page, that image's context object may not be usable without pre-filtering. I could do something in the template, but I would prefer to be able to contextually transform the passed object based on the page context: something like this, e.g.
```tmpl
{%-- homepage --%}
{%each posts as post %}

{%partial post-banner post.image%}

{%endeach%}
```
```tmpl
{%--
category archive view: category.featured_image has a different structure
from post.image, and convert-image is used to produce a valid context object
--%}
{%each categories as category %}

{%partial post-banner category.featured_image|convert-image%}

{%endeach%}
```
I'd be curious for your thoughts; if this is valid, I'd appreciate some direction on where in the codebase this behavior is defined, so that I could take a crack at a patch.