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}
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}
© 2022 - 2024 — McMap. All rights reserved.