Answer the question
In order to leave comments, you need to log in
Include as value in variable?
Basically there is a code
-
var db_array = [
{
iconball: 'include ../templates/icon-ball.svg',
},
]
include ../templates/programm-box.pug
each val in db_array
span
=val.iconball
Answer the question
In order to leave comments, you need to log in
include ../templates/programm-box.pug
each val in db_array
span!= val.iconball
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question