We have something like this:
.child
a.child-2
img(src)
if i want to add wrapper for this elements i do it like:
if something === true
.parent
.child
a.child-2
img(src)
else
.child
a.child-2
img(src)
If there are a lot of children we have a problem of doubling and bad readability How do i write a condition for wrapper element alone wihout need to make else statement and copy every child in it?