O
O
obemgcabazn2016-07-25 15:35:06
Pug
obemgcabazn, 2016-07-25 15:35:06

How to leave unclosed tag in Jade (Pug js)?

I store header.php, index.php and footer.php separately.
For example, there is a container that opens in the header and closes in the footer. How to make it so that the compiler does not close it at the end of the header, but close it in the footer without opening it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dm, 2016-07-25
@obemgcabazn

This is a bad container. Maybe it's more correct to set this container class to blocks, and not to the whole page?

<!DOCTYPE html>
  <html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Index</title>
  </head>
  <body>
    +mixin
    +mixin
    +mixin
  </body>
</html>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question