Adding to what Brumoon stated,
You can assign a design to your site from page properties. If this is not set, the values are stored under the default design
[Page Properties > Advanced > Design]
- Open the page from site admin
- click on the page properties link in the side kick to launch page properties dialog
- click on the advanced tab
- select the design you created form the dropdown
This design will get assigned to all the child pages as well
Add: <%=
currentDesign.getPath() %> to know current path.
I hope this would help you.
~kautuk
Kautuk Sahni