Print variable value within a html element's attribute

Hi guys, I hope there’s a simple way of doing this in an EJS file

While I can make this work, which will show as a link with my dynamic title
<a href=whatever">{{ title }}

I can not make this one work. The attribute title of the element will read {{ title }} instead of the value of that variable. How can I print / render the page so the attributes of HTML elements show the values stored inside variables?

<a href=whatever" title="{{ title }}">{{ title }}

Thanks!

dmx-bind is your friend here. E.g.

dmx-bind:href=“whatever” dmx-bind: title=“title”{{title}} etc…