I need to set a different layout for the homepage, but I don’t understand how to modify the layout.phtml of a theme. I different solutions, but I can’t find the right way for declaring the function to get the homepage. Like
<?php $homepage = $site->homepage();?> <?php if ($homepage): ?> do stuff <?php else: ?> do other stuff <?php endif; ?>
doesn’t work. Any help?