Opening a template for editing
You can open a template file directly for editing, or you can open a template-based document, then open the attached template for editing.
When you make a change to a template, Dreamweaver prompts you to update the documents based on the template.
To open and edit a template file:

The Assets panel lists all of the available templates for your site and displays a preview of the selected template.
The template opens in the Document window.
Tip: To modify the template’s page properties, select Modify > Page Properties. (Documents based on a template inherit the template’s page properties.)
Dreamweaver prompts you to update pages based on the template.
Dreamweaver displays a log indicating the files that were updated.
To open and modify the template attached to the current document:
Tip: To modify the template’s page properties, select Modify > Page Properties. (Documents based on a template inherit the template’s page properties.)
Dreamweaver prompts you to update pages based on the template.
Dreamweaver displays a log indicating the files that were updated.
Manually updating documents that are based on templates
When you make a change to a template, Dreamweaver prompts you to update the documents based on the template, but you can manually update the current document or the entire site if necessary. Manually updating template-based documents is the same as reapplying the template.
To apply template changes to the current template-based document:
Dreamweaver updates the document with any template changes.
To update the entire site or all documents that use a specified template:
The Update Pages dialog box appears.
Dreamweaver updates the files as indicated. If you selected the Show Log option, Dreamweaver provides information about the files it attempts to update, including information on whether they were updated successfully.
Checking template syntax
Dreamweaver automatically checks the template syntax when you save a template, but you can manually check the template syntax prior to saving a template. For example, if you add a template parameter or expression in Code view, you can check that the code follows correct syntax.
To check for valid template syntax:
An error message appears if the syntax is badly formed. The error message describes the error and refers to the specific line in the code where the error exists