E
Eric G
Hello,
I have two questions pertaining to Dynamic Web Templates and Meta tags.
Attaching a DWT to a page affects the page's Meta tags. As I understand it, the page to which the DWT is attached "inherits" the Meta tags from the DWG. Looking at the code at the beginning of the page (before the body tag) of a page that has a DWT attached, one can see the following:
"<html>
<!-- #BeginTemplate "dwt/ template.dwt" -->
<head>
<!-- #BeginEditable "doctitle" -->
<title>This is the main page</title>
<!-- #EndEditable -->
<title></title>
<meta name="Title" content="This is my website .."
Consequently there are to sets of "Title" tags, the first one, in my example "<title>This is the main page</title>", the second "<title></title>".
The first one, is, I would say, rather obvious, as it is commented before and after and that's where I would put the page Title. But, should the second Title tag, always be left blank, or should this also be filled out?
I noticed that it's possible to fill out even this second tag, even though there is a warning about how to handle this.
The Meta tags are, as I said I see it, "inherited" from the DWG. Does this mean that you should have the same Meta tags on all pages that are attache to the DWT, or should each page's Meta tags be edit and filled out individually for best effect?
Grateful for any ideas.
Best regards,
Eric G
Stockholm, Sweden
I have two questions pertaining to Dynamic Web Templates and Meta tags.
Attaching a DWT to a page affects the page's Meta tags. As I understand it, the page to which the DWT is attached "inherits" the Meta tags from the DWG. Looking at the code at the beginning of the page (before the body tag) of a page that has a DWT attached, one can see the following:
"<html>
<!-- #BeginTemplate "dwt/ template.dwt" -->
<head>
<!-- #BeginEditable "doctitle" -->
<title>This is the main page</title>
<!-- #EndEditable -->
<title></title>
<meta name="Title" content="This is my website .."
Consequently there are to sets of "Title" tags, the first one, in my example "<title>This is the main page</title>", the second "<title></title>".
The first one, is, I would say, rather obvious, as it is commented before and after and that's where I would put the page Title. But, should the second Title tag, always be left blank, or should this also be filled out?
I noticed that it's possible to fill out even this second tag, even though there is a warning about how to handle this.
The Meta tags are, as I said I see it, "inherited" from the DWG. Does this mean that you should have the same Meta tags on all pages that are attache to the DWT, or should each page's Meta tags be edit and filled out individually for best effect?
Grateful for any ideas.
Best regards,
Eric G
Stockholm, Sweden