Developer forum

Forum » Templates » disable meta tags

disable meta tags

René Kristensen
Reply

Is it possible to disable meta tags so the <!--@MetaTags--> is not added to the parsed layout file, but instead control the meta tags from the master template?


Replies

 
Nicolai Høeg Pedersen
Reply

No - that is not possible... Do you have a specific issue?

 

Nicolai

 
Martin Nielsen
Reply

Not sure if it works, but if <!--@MetaTags--> is present in your template i think DW will output it's meta info where the tag is, so you can wrap it inside an If like this:

 

<!--If(1==2)-->

<!--@MetaTags-->

<!--@EndIf-->

 

This is untested with D&L, but it worked before Designs and Layouts :-)

 

You must be logged in to post in the forum