May 23, 2009 4:34 PM
Templates: editable region in the head
-
Like (0)
Recent versions of Dreamweaver automatically create two editable regions in the head of a template. The first is called "doctitle", and should contain only the <title> tag like this:
<!-- TemplateBeginEditable name="doctitle" -->
<title>Your Page Title Goes Here</title>
<!-- TemplateEndEditable -->The second is called "head", and goes just before the closing </head> tag. It looks like this:
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>Use this second editable region to add keywords, description, and other <meta> tags, as well as links to external style sheets and JavaScript files. By default there is nothing between the two template comment tags, so it's easy to miss.
If you are using an old version of Dreamweaver, you need to add the "head" editable region manually to the main template file. Just copy and paste the two lines shown above immediately before the closing </head> tag.
Copyright © 2011 Adobe Systems Incorporated. All rights reserved.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).