Master templates
A master template is a template which contains markup and other resources which are reused across multiple pages in a design - e.g.:
- References to .NET or DynamicWeb libraries
- Links to static resources - icons, css, JS
- A header section with metadata, scripts, etc.
- Cookie-related logic
- Etc.
As such it is the outermost layer of the template hierarchy:

Swift 2 uses the following master templates:
| Template | Use | Used by |
|---|---|---|
| Swift-v2_Master.cshtml | The master page for most content pages. Contains references to js, css, styles (buttons, color schemes, typography), various scripts, meta tags, and google tag manager script. | Swift-v2_Page.cshtml Swift-v2_VisualComponentEdit.cshtml |
| Swift-v2_EmailBase.cshtml | Contains styling and markup for email pages. | Swift-v2_Email.cshtml |
| Swift_v2_VisualComponentEdit.cshtml | Defines a grid for header and footer templates - inherits other settings from Swift-v2_Master.cshtml | Swift-v2_Header.cshtml Swift-v2_Footer.cshtml |