Posted by odyniec on June 4, 2011 at 1:09am
This module adds a template variable to identify front page translations.
The is_front variable can be used in a template file to check whether the displayed page is the front page or not. However, this does not apply to the translations of the front page (when content translation is in use). This module addresses this by adding a new template variable is_translated_front, which is set to TRUE for nodes that are translations of the front page.
Usage example:
<?php // Do not display the title on the front page ?>
<?php if ($title && !($is_front || $is_translated_front)): ?>
<h2><?php print $title; ?></h2>
<?php endif; ?>