HTML-partials

The posthtml-include plugin allows you to add code from other HTML files (fragments) to HTML page files. Fragments are stored in the src/partials
folder. The addition occurs when compiling page files, such as index.html
.
This example.html
file is an example of such a snippet, with the markup of a certain part of the main page. This is very convenient for team development on student projects, when several people write in one HTML file at once.
The syntax for adding a fragment to the main file is: <include src="./partials/filename.html"></include>