Don't worry - layout files aren't complicated at all - they are simply .html files! The only thing that separates layout files is that you can use the handy Convergence tokens in your files, which will save you time as you build out your site.
Convergence looks for all your layout files in your site home directory (when you login to your FTP, this is the "root" directory of each site). Any .html file you upload will automatically show up as an option for pages in your site in the PAGES section in your Convergence admin bar. To choose a layout for a page in your site, follow these steps:
- Login to your site
- Click PAGES up top in the admin bar.
- A window pops up showing your sitemap.
- Hover over the page you wish to edit, and click the edit icon (pencil and paper)
- You will see a dropdown box labeled "What will this page look like?", here you can choose a layout file for your page. (note: layouts will show up capitalized and without the .html extension, so if you upload inside.html, you would see Inside in the dropdown box.)
- Click Save Changes when you're done!
The great thing about layout files is that you can create one generic "inside" layout for all of your site's internal pages! Say goodbye to creating a separate HTML file for each page in your site! Also, you could create a "two-column.html" and a "three-column.html" layout file for different pages in your site.
Now that you've learned about layout files, let's check out some special layout files that Convergence looks for - starting with the Index Layout File.