mahmoud/ashes — pull request #15 by jvanasco (2014-05-09 20:42:00+00:00)
Title: adding in support for kwarg partials

this adds in support for kwargs in partials; addressing https://github.com/mahmoud/ashes/issues/14

a few notes:

1- I removed the `bodies` arg into the partials render and replaced it with `params` kwargs. i couldn't find a basis/rationale for the `bodies` ever being supplied into this function.

2- i included two ways of pulling this off:

* use a dedicated partial context ( and new `make_base` function )
* replicate how `section` works with a `context.push(`

the latter is enabled.

3- this patch required the tests to be changed , as they now should expect a 'params' entry with partials.

I didn't implement any of the other linkedin extensions.