express-ejs-layouts
express-ejs-layouts copied to clipboard
Wrong ReferenceError in layout
It seems like node prints out the wrong variable name when something is not defined. I had <%= title %> and <%= uid %> and with not passing uid, it gave me a title is not defined error. It also referenced the line title is on. The title ref was first in the file.