As for pug-mixin to insert the argument in the attribute value?

Here is a mixin that does not compile. You just need to paste the src of the pictures in style.
Tried without brackets and without lattices - it is useless... How is it properly done?

mixin team(img_src)"background-image: url("=#{img_src}");")
March 12th 20 at 08:41
1 answer
March 12th 20 at 08:43
mixin team(img_src)`background-image: url(${img_src})`)
Thank you! - Ford_Ryan commented on March 12th 20 at 08:46

Find more questions by tags Pug