I'm editing a Liferay Theme. By editing the portal_normal.vm, I want to conditionally show or hide a component
#if ($is_welcome_page)
<span class="lang">
$taglibLiferay.language("fm",null,"languageId",1)
<br>
<div class="my-menu">
...... lots of irrelevant stuff here
</div>
</span>
#end>
How can I make that $is_welcome_page variable become true only if the current page is the Portal's Welcome page ?
I guess I could get the friendly Url and check it, but I'm not sure how I can do that. Any working code would be much appreciated!
Edit: using Liferay 6.1.0 if that helps