For some reason, I cannot pass the variable to the pug template using Node JS.
app.get("/", function (req, res) { res.render('index', { hello : 'Hey'} ) })
....
extends layout.pug block content h1
It just returns "guy" in the index.html file
source share