treehouse-express-basics icon indicating copy to clipboard operation
treehouse-express-basics copied to clipboard

Index.jade - Incorrect Template Inheritance

Open scottmcook opened this issue 9 years ago • 1 comments

When I run nodemon, I get a 'no such file or directory error' for the file: layout.jade.jade.

It looks like it's because in index.jade we call

extends ./layout.jade

After I removed the extra '.jade' it worked!

scottmcook avatar Mar 12 '16 21:03 scottmcook

correct format for template inheritance is extends ./layout

jns4u avatar Mar 15 '16 16:03 jns4u