You can't just modify the html that ShopSite generates because the next time the store is published your edited file will be over written.
If you don't want the meta data, edit the template and remove the template tags that are out putting it. It would probably be something like this
- Code: Select all
[-- IF PAGE.MetaKeywords --]
<meta name="keywords" content="[-- PAGE.MetaKeywords --]">
[-- ELSE --]
<meta name="keywords" content="[-- PAGE.Name REMOVE_HTML --]">
[-- END_IF --]
[-- IF PAGE.MetaDescription --]
<meta name="description" content="[-- PAGE.MetaDescription --]">
[-- ELSE --]
<meta name="description" content="[-- PAGE.Name REMOVE_HTML --]">
[-- END_IF --]
If you only want it on the first page of the pagination pages then you could do something like this
[code]
[-- IF PAGE.PaginatedPageNum EQ 0 --]
# we need to output the meta data
[-- IF PAGE.MetaKeywords --]
<meta name="keywords" content="[-- PAGE.MetaKeywords --]">
[-- ELSE --]
# no meta keywords
[-- END_IF --]
[-- IF PAGE.MetaDescription --]
<meta name="description" content="[-- PAGE.MetaDescription --]">
[-- ELSE --]
# no meta description
[-- END_IF --]
[-- ELSE --]
# no meta data output.
[-- END_IF --]
/code]
I haven't actually tried that but it should be something similar to that. NOTE: (Will only work in ShopSite 11 or later since the EQ statement and Page.PaginatedPageNum were added in ShopSite 11.)