C
C
cyberlain2017-11-29 14:04:09
Pug
cyberlain, 2017-11-29 14:04:09

How to display the same blocks with different content in pug?

Suppose I have a product card and I need to display 10 such cards with different descriptions, prices and pictures. Explain how to do this through extends and block?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Filippov, 2017-11-29
@vicodin

https://pugjs.org/language/iteration.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question