Answer the question
In order to leave comments, you need to log in
How to build html file with Gulp?
For example, when laying out different pages, only the content changes, while the header, menu, footer always remain the same. But when changing the markup in one file, you have to manually replace the markup in others.
Answer the question
In order to leave comments, you need to log in
Hello.
A good solution in this situation would be jade. With its help, you can easily create a template, for example, headers and insert a variable on the header in each layout page.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question