N
N
ne_pes2019-04-02 01:14:15
JavaScript
ne_pes, 2019-04-02 01:14:15

How to write a condition in PUG?

How to write so that in index.pug you can assign a variable = true and it depends on which include will work in the template? (pug code)

if footer-whtie
            include ../modules/footer-white
        else
            include ../modules/footer

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question