Blocks and Extends in Jade layouts with Express not functioning?

So I've figured out what was up. I was manually specifying the layout to use in express - I was setting it to the correct layout, but removing that line solved the problem. Example (for others who run into this).

So I've figured out what was up. I was manually specifying the layout to use in express - I was setting it to the correct layout, but removing that line solved the problem. Example (for others who run into this): exports.

Index = function(req, res){ res. Render('index', { title: 'Express' }) // this works! Res.

Render('index', { title: 'Express', layout: 'layout' }) // this doesn't work }; I would have expected a different behavior - including an explicit layout like this simply caused the child view to not render within the master layout.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions