Login  Register

Re: Duplicate title tags and meta descriptions

Posted by Harvey on Oct 21, 2011; 1:55pm
URL: https://support.nabble.com/Duplicate-title-tags-and-meta-descriptions-tp6759630p6916990.html

So I think this should work:  (?)
 <override_macro name="default_app_title_contents" requires="node">
  <n.if.equal value1="[n.root_node.type/]" value2="forum">
    <then>
      <n.if.is_root>
        <then>
          NY Ski Forum | Trip Reports, Ski Conditions, Snow Sports | Harvey Road
        </then>
        <else>
          <n.if.is_post>
            <then>
              <n.subject/> | NY Ski Forum
            </then>
            <else>
              NY Ski Forum | <n.subject/> | Harvey Road
            </else>
          </n.if.is_post>
        </else>
      </n.if.is_root>
    </then>
  </n.if.equal>
</override_macro> 
HTTPS Please!