I have stored a dynamic url link into a pug variable #{img}. Now I want to include that variable into my image element. Can anyone help me fill in the blank?
#{img} //some dynamic url
img(src=" ") //want to set src = #{img}
Just realized I was using the deprecated version. The new version looks something like img(src=img). https://pugjs.org/api/migration-v2.html
– DavidNov 25 '17 at 20:26