diff --git a/doc/guides/4 - Customising your Design/1 - How to change Page Parts.textile b/doc/guides/4 - Customising your Design/1 - How to change Page Parts.textile index 6128228431..e6e2b345d8 100644 --- a/doc/guides/4 - Customising your Design/1 - How to change Page Parts.textile +++ b/doc/guides/4 - Customising your Design/1 - How to change Page Parts.textile @@ -16,7 +16,7 @@ In Refinery's backend, go to the "Settings" tab. Look for a setting called "Defa NOTE: If you don't have this setting, try creating a new page and then restarting your web server. ---- +--- - Body - Side Body @@ -26,7 +26,7 @@ Edit this YAML to have the names of the default page parts you want, click +Save Here's a sample of a site that would have three content areas on most of its pages. ---- +--- - Left Body - Middle Body - Right Body @@ -47,7 +47,7 @@ NOTE: Your "middle body" content won't show on the front end yet. You need to ou Now in your +app/views/pages/home.html.erb+ view you'll be able to put: -<%= @page[:middle_body] %> +<%= @page.content_for(:middle_body) %> to output this new content area in the view.