write an array of objects directly on pug
0
I would like to know if I can write an object on pug, this code is working but I think I would be better if I can write the object directly. mixin about(title, paragraphe) - var columns_content = - columns_content.push({title:'Brand',paragraphe:'hola'}) - columns_content.push({title:'Digital',paragraphe:'hola'}) - columns_content.push({title:'Print',paragraphe:'hola'})
pug
share | improve this question
asked Nov 20 '18 at 22:01
Maria Violeta Maria Violeta
12 4