jnordberg/wintersmith — pull request #29 by lhagan (2012-07-10 05:45:04+00:00)
Title: Allow local or arbitrary modules to be included in the template context

Currently, if an arbitrary module is included, for example `require: [ './myutils']`, it's impossible to access because the name of the module in wintersmith would be `/path/to/site/myutils`. This change uses the last part of the module path (`myutils` in this example) as the module name for the require statement.