This is probably (hopefully) a simple question, but I can't figure it out: I'm trying to customize a theme to add a div/region for a "banner" that will display the title of the page on each page...except for the front page. The front page will have a similar "banner" but with different content, more like a promotional thing.
I thought the simplest way to include the banner with the title was simply to move the title rendering in the page.tpl.php:
<div id="banner"><div class="section clearfix"> <?php print render($title_prefix); ?> <?php if ($title): ?> <h1 class="title" id="page-title"> <?php print $title; ?> </h1> <?php endif; ?> <?php print render($title_suffix); ?> </div></div>
This works fine, but then I will get it on the front page as well, and there I want it replaced by a similar banner but with custom content, preferably inserted by a custom block I will create.
How do I do this separately for the home/front page?