Nesting Templates and Partials

When working with web pages, you will almost certainly want to share a considerable amount of HTML. By nesting templates inside of master templates, we can share common HTML structure, layout, and share styles and scripts. We will see how to define sections that can be customized inside of your templates, as well as how to extract common components into partials that you can embed inside of other templates.

This is a companion discussion topic for the original entry at https://nsscreencast.com/episodes/352-vapor-leaf-nesting-templates-and-partials