Depreciating dot based template paths
Before this release
Earlier one was able to use dot (.)
as a separator to define nested template paths. For example:
// file path: posts/index.edge
view.render('posts.index')
However, allowing dot
as a separator can cause unnecessary problems, when the actual filename has a dot inside it. For example:
├── partials
│ └── header.small.edge
Now, rendering the view using partials.header.small
will break, since the dot
is used a path separator.
After this release
Now, the standard /
is used for referencing nested paths.
view.render('posts/index')
- refactor: depreciate dot based template paths 7bd3640