var list = [{
class: [ 'items'],
desc: 'items 1'
},
{
class: [ 'items'],
desc: 'items 2'
},
{
class: [ 'items'],
desc: 'items 3'
},
{
class: [ 'items', 'active'],
desc: 'items 4'
},
{
class: [ 'items'],
desc: 'items 5'
},
{
class: [ 'items'],
desc: 'items 6'
}]
ul
each item in list
li(class=list.class)= list.desc
li(class=list.class)= list.desc
li(class=item.class)= item.desc