I am attemting to use different layouts of the same template for different pages. I want a have a 2 column layout for some pages and a 3 column layout for others. it is all designed in my css to handle this. However I cannot code it correctly.
In the templates.Page>SS file I have the following code
<% if InSection(home) %>
<div id="main-2col"> $Layout </div>
<% else %>
<div id="main"> $Layout </div>
<!-- Good spot for a search box -->
<div id="rightbar"> </div>
<% end_if %>
What I would like is the following:
<% if InSection(home) %>
or 2nd page
or 3rd page
<div id="main-2col"> $Layout </div>
<% else %>
<div id="main"> $Layout </div>
<!-- Good spot for a search box -->
<div id="rightbar"> </div>
<% end_if %>
How can I include other pages in the IF statement correctly. I've tried but only get errors. Thanks.