Answer the question
In order to leave comments, you need to log in
How to write a loop/mixin for nested lists in Pug?
Greetings. When writing a menu with nested lists like
<ul>
<li>1
<ul>
<li>2
<ul>
<li>3</li>
</ul>
</li>
</ul>
</li>
</ul>
Answer the question
In order to leave comments, you need to log in
How to write a mixin for Jade/Pug?
https://pugjs.org/language/mixins.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question