I'm working on a new project that involves Jade, Express and Node.js (It's my first time plating with any of it)
I'm working on some jade templates. So far I've got a layout page which is just the header for the page
I can simply call extends layout
at the top of a view.
I also have a navBar block of HTML that I'm going to use on 90% of the pages. Is there a way to do the same thing? I've played with it a little bit and googled some but havent found much regarding it.
Can you use extends or anything like it to put a view inside another one?
This'll save me copy and pasting the whole thing and overall it'll be much neater.