How to make thumbnails on jade?

- var little = ['img/content/phone-little1.png', 'img/content/phone-little2.png', 'img/content/phone-little3.png', 'img/content/phone-little4.png']

ul.slideshow__thumbs 
 each value in little 
li.slideshow__thumbs-item
a(href="").slideshow__thumbs
 img(src="{#value}")

How to make up to a picture of each list was the howling of little? Thank you.
Galp swears on the last line

July 8th 19 at 16:39
2 answers
July 8th 19 at 16:43
img(src="#{value}")
img(src=value)
July 8th 19 at 16:41
img(src="#{value}") - Yoshiko24 commented on July 8th 19 at 16:44
Yes, it is true, has updated its version. But with interpolation there are problems when you need to concatenate the terms and other complex cases, so I wrap the expression in parentheses, and to cause the string to interpolate and not have become. - aniya commented on July 8th 19 at 16:47
Can't check right now, but, like, without the brackets should work, if is indented to deliver. - aniya commented on July 8th 19 at 16:50
even without a space works) - Yoshiko24 commented on July 8th 19 at 16:53

Find more questions by tags Pug