What is the difference between placing code on a page template vs in the head tag content/css?
For example, in the head tag, I have a toolkit function that creates meta descriptions if none exist with statements like:
<mvt:if expr="g.Screen EQ 'PROD' ">
or
<mvt:if expr="g.Screen EQ 'CTGY'">
Could these just as well be placed on the specific page template without the "if" code? Or is there a benefit to one way or the other?
Thank you
For example, in the head tag, I have a toolkit function that creates meta descriptions if none exist with statements like:
<mvt:if expr="g.Screen EQ 'PROD' ">
or
<mvt:if expr="g.Screen EQ 'CTGY'">
Could these just as well be placed on the specific page template without the "if" code? Or is there a benefit to one way or the other?
Thank you
Comment