J
J
jack3d2014-11-25 14:48:56
C++ / C#
jack3d, 2014-11-25 14:48:56

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

1 answer(s)
M
Maxim Stepanov, 2017-03-12
@badsanta2008

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 question

Ask a Question

731 491 924 answers to any question