Many changes here. A new locals._settings, used to have access to the settings.views from any other function (partial, lookup), it was accessible only from renderFile before. Made a change to allow to write the file extension without failing while looking for the file. (partial('foo.ejs') now works for both relative and absolute paths. Added a logger when a file cannot be retrieve to have the full stack of file load try. Quite useful to understand why a specific partial isn't found. Use a common function to get the default settings.
Many changes here. A new locals._settings, used to have access to the settings.views from any other function (partial, lookup), it was accessible only from renderFile before.
Made a change to allow to write the file extension without failing while looking for the file. (partial('foo.ejs') now works for both relative and absolute paths.
Added a logger when a file cannot be retrieve to have the full stack of file load try. Quite useful to understand why a specific partial isn't found.
Use a common function to get the default settings.

Vadorequest/ejs-locals,Vadorequest/ejs-locals