17 August 2009 at 2:35am
How can I use an include so that it only appears on a certain page.
I am using $layout to call my HomePage information as well as all the others however in a different area of the html altogether I need to include a footer that will only show when viewing the homepage. However I can't put it in the HomePage file as it would mess with my layout.
I have been trying this:
<% if HomePage %>
<% include Footer %>
<% end_if %>
but it is not working. How can I get this working?
Thanx in advance