Login  Register

Re: Duplicate title tags and meta descriptions

Posted by Peter <Nabble> on Oct 22, 2011; 8:26pm
URL: https://support.nabble.com/Duplicate-title-tags-and-meta-descriptions-tp6759630p6920885.html

If you go to a topic page you can navigate here:

classic_forum_topic › topic_html › topic_head

There you will see this at line 10: <n.topic_title.page_number_ending/>
The page_number_ending does what you are asking for. It adds to the topic_title:

<macro name="page_number_ending">
    <n.hide_if_equals. value1="[n.topic_page_number/]" value2="1">
        | <t>Page <t.number.topic_page_number/></t>
    </n.hide_if_equals.>
</macro>

The bold if is to "hide" "if" "topic_page_number" "equals" "1".
So if the page number is 1, " | <t>Page <t.number.topic_page_number/></t>" is not displayed.

That's how that works.
Nabble staff. We never ask for passwords.