Jul 10, 2017 · 1 min read
I recommend you configure the baseDir option in the locals that you pass to the pug renderer, to reflect the base view directory. Then you can use absolute or relative paths for extends and include directives, so simply have extends /layout at the top of all of your view files, if you want to use one global layout
