Closed mixalistzikas closed 5 years ago
layout
and template
are two different things. Think of the layout as the common parts of all of the templates. (header, footer, etc.)
express-handlebars renders the template then renders the layout.
In your case it is always rendering new_message_from_shooter.hbs
(defaultLayout) last so that is what is rendered.
I have the following settings with nodemailer
When I call this
or this
I always get the same template.... "new_message_from_shooter"
Any ideas?