ejs icon indicating copy to clipboard operation
ejs copied to clipboard

With Express: when include path starts with /, resolve path relative to main view directory

Open rcombs opened this issue 11 years ago • 0 comments

e.g. views/pages/userList.ejs: … <% include /includes/pagination %> … could include views/includes/pagination.ejs instead of views/pages/includes/pagination.ejs (great for global includes).

rcombs avatar May 08 '13 21:05 rcombs