Using Glue is super simple.
Use the “glue-src” attribute on any element to replace its content with HTML from the template you specifiy when the page loads.
<div data-glue-src="navbar">
Put a “glue-link” attribute on an anchor to clear the existing page and replace it with the new one you specify.
<a data-glue-link=”page2”>Go to the next page</a>
Any content that is going to change from page to page will be loaded into the .glue-container, so leave it in your index.html. Your default template is layout.html at the top level directory.
<div class="glue-container"></div>