For some reason I can't pass a variable to the pug template with Node JS.
app.get("/", function (req, res) {
res.render('index', { hello : 'Hey'} )
})
....
extends layout.pug
block content
h1 #{hello} guy
This just returns "guy" in the index.html file
app
? what doeslayout.pug
have? – Marissamarist