Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Change how layout paths are resolved #11
Currently, layout paths are resolved relative the template. This can become a pain for nested views and maintainability. Given an example like:
These views would respectively use the layout directives. For a lot of views this can be frustrating if I decide I want to refactor the directory structure or whatever.
This pull request will add a configuration option "layoutsDir" that all layouts will be resolved against. If that option is not given, it will fallback to current behavior.