XF 2.1 Meta titles like xenforo forum

nektarios

Member
Hi.

I see that all xenforo meta titles for forums and threads are of the form <title> | <page> | xenforo comminty

How do i that? My meta titles do not have the page element thus producing duplicate meta titles.

Thank you.
 
Here is how my thread_view looks like (I haven't changed it)

Code:
<xf:title page="{$page}">{{ prefix('thread', $thread, 'escaped') }}{$thread.title}</xf:title>

I tried the code below and now page number is added to the title but for page 1 I just get Page word which I guess is not needed. How do I remove it for first page?

Code:
<xf:title page="{$page}">{{ prefix('thread', $thread, 'escaped') }} {$thread.title} | Page {$page}</xf:title>

Thank you.
 
Top Bottom