I am using node.js, express with jade/pug.
As an example I have the following in an index.js file.
res.render('index', { x: 'home' });
As a test to make sure I am passing the value correctly I am using the following to display the value 'home' on index.pug.
#{x}
This renders the value as the tag home.
<home></home> instead of the word home
How do I get the word home instead of a tag? How would I get the value into
include ../components/#{x}.pug