gulp-file-include
gulp-file-include copied to clipboard
Indent
Hi
I am having an issue with indentation when including content.
The image below is the output destination for compiling:
The image below is the partial that I am compiling:
This image shows the output of what I am receiving. Is this something that I can fix with options?
Can you please help or point me in the right direction on how to fix this issue.
Thanks in advance
maybe, you can do like this. index.html
<html>
@@include('head.html', {
"title": "page title"
})
</html>
You should add indent:true in your fileinclude pipe: .pipe( fileinclude({ indent: true }) )