i want to know what type of page is being served.
reason: i want to serve different content in the <head> depending on if the page is a category or a thread. basically i want the format of the title tag and also the description tag to be different depending on the type of page.
i tried
<xen:if is="{$forum.node_id}">
<title>This is a forum node</title>
<xen:else />
<title>this is a thread or other page</title>
</xen:if>
but that is clearly wrong.
additionally, if i'm on a thread page, what variable will tell me what the title of the forum that thread is in?
reason: i want to serve different content in the <head> depending on if the page is a category or a thread. basically i want the format of the title tag and also the description tag to be different depending on the type of page.
i tried
<xen:if is="{$forum.node_id}">
<title>This is a forum node</title>
<xen:else />
<title>this is a thread or other page</title>
</xen:if>
but that is clearly wrong.
additionally, if i'm on a thread page, what variable will tell me what the title of the forum that thread is in?