Please forgive me in advance if I'm missing this. I'd like to see an example of how to include a region in another file.
The dev page http://developers.squarespace.com/layouts-regions/ lists a sample site.region file for the "Single Layout Sites" but not one for the "Mulitple Layout Sites".
For example if I have the following in my template.conf file:
"default" : {
"name" : "Sidebar",
"regions" : [ "my-header","my-sidebar", "main_body", "my-footer" ]
},
How then do I include "header", "sidebar", and "footer" in my "main_body.region" file? (Or what does the main_body.region file look like?
i.e., main_body.region:
<html>
<head>
[[ INSERT MY-HEADER HERE ]]
</head>
<body id="{squarespace.page-id}" class="{squarespace.page-classes}">
<!-- Sidebar -->
[[ INSERT MY-SIDEBAR HERE ]]
... REST OF CODE
[[ INSERT MY-FOOTER HERE ]]
Thanks tremendously.