XF 1.5 $thread.reply_count


Well-known member
hmmm this is not working for me

<xen:if is="{$thread.reply_count} == 0">
<xen:container var="$head.robots"><meta name="googlebot" content="noindex" /></xen:container>


Well-known member
Check if you have some kind of caching going on, I just tested your code and it adds the noindex right before the end of the head as expected.

Also just for the sake of sanity make sure you are testing this viewing a thread that actually has 0 replies.