X
X
Xenofit2020-04-23 15:39:48
Pug
Xenofit, 2020-04-23 15:39:48

How to nest in a PUG file?

Hello everybody! There is a mixin - we 5ea18c1db8bc9048749832.png
connect it to the main file 5ea18c3c42a05347439250.png

at the output we have The 5ea18c464f446625895820.png

question is how to set up nesting in my case in the mixin so that img goes first and then the link text, and not vice versa like mine.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SagePtr, 2020-04-23
@Xenofit

mixin ...
  li...
    a(...)
      img(...)
      = title

X
Xenofit, 2020-04-23
@Xenofit

Thank you very much! Damn, why did I put
| = title, only now it's clear what you need without |

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question