This question is related to using Jade templates with Express.js .
I know that when I write layout.jade
, which contains:
!!! html body != body header h1 My header
When I call res.render('index')
, then my actual template maps to the beginning of the body
.
My question is this: what does != body
mean and how is Jade / Express used to determine where my template is placed inside the layout? I know that if I change != body
inside another element, then the actual view is displayed instead. Does anyone know where this documentation is documented?
source share