How to includethe html files?

Develop a project on Bootstrap, is collected in a Gulp. The question arose how to divide the page into sub-templates, not to make changes to each document separately (for example by analogy with the wordpress templates: header, footer, single, etc).
I want to optimize this process, as the number of developed pages increases, and edit manually all unproductive.

Typeset without the html-preprocessors, using browsersync (if it matters for my question).
Thank you.
July 9th 19 at 13:39
2 answers
July 9th 19 at 13:41
Take a gulp-twig
You will not need to convert anything (like the ass), only the file extensions to change
You can just use inkluda
{% include "somefile.twig" %}
But if need be, and the full power of the templating engine.
Did so, everything works. Thank you. "And if need be, and the full power of the templating engine." Will do so as needed. - Carlee_Daugherty39 commented on July 9th 19 at 13:44
July 9th 19 at 13:43
Still recommend for these purposes, Jade (Pug)
Customize it - the case for 5 minutes. To convert the existing layout to format .jade - too.

Find more questions by tags BootstrapGulp.jsHTML