It's obvioulsy because we need to escape the content returned by the partial function, but I don't know how here: box_content: partial('../../assets/linker/templates/icon', {icon: 'fa-users'})
I don't know if my approach is the right one, what's the best way to send a block as parameter with ejs-locals? I just found out this module a few days ago.
What I would love would be to send a block in the box_content parameter that could include other partials and so on.
I'm trying to send a partial into another partial, it works but the code is rendered as text.
It's obvioulsy because we need to escape the content returned by the
partial
function, but I don't know how here:box_content: partial('../../assets/linker/templates/icon', {icon: 'fa-users'})
I don't know if my approach is the right one, what's the best way to send a block as parameter with ejs-locals? I just found out this module a few days ago.
What I would love would be to send a block in the
box_content
parameter that could include other partials and so on.