Layouts
Defining layouts
- Create a file called layouts/default.haml (or .erb)
- use
yield
to show the page's contents - Voila
Using your own layouts
Use the layout
metadata key. See the next section.
yield
to show the page's contentsUse the layout
metadata key. See the next section.