Answer the question
In order to leave comments, you need to log in
How to implement the ability to insert extends in the middle of a file (Pug)?
Good afternoon, dear connoisseurs.
I had a problem that I could not cope with, so I would like to ask you for help.
The crux of the problem is this:index.pug
extends layout/layout
block vars
- title = 'test page'
block content
.container
include modules/navigation
..... Много много всего
include modules/test-modules
// Интересует вот этот момент
block text
p test text
modules/test-modules
.container
block text
modules/test-modules
? Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question