Answer the question
In order to leave comments, you need to log in
How to include html files?
I am developing a project on Bootstrap, building it in Gulp. The question arose of how to split pages into subtemplates so as not to make changes in each document separately (for example, by analogy with wordpress templates: header, footer, single etc).
I would like to optimize this process, because the number of pages being developed is increasing, and editing everything manually is unproductive.
I type without html-preprocessors, I use browsersync (if it is important for my question).
Thank you.
Answer the question
In order to leave comments, you need to log in
Take gulp-twig
You won't need to convert anything (like with asshole), just change the file extensions
You can just use the includes
And if necessary, then the full power of the templating engine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question