Proton manual Introduction Layouts

Layouts

Defining layouts

  1. Create a file called layouts/default.haml (or .erb)
  2. use yield to show the page's contents
  3. Voila

Using your own layouts

Use the layout metadata key. See the next section.