Skip to content

Instantly share code, notes, and snippets.

@vsyrovat
Last active December 28, 2015 23:09
Show Gist options
  • Save vsyrovat/7577038 to your computer and use it in GitHub Desktop.
Save vsyrovat/7577038 to your computer and use it in GitHub Desktop.
Template Principle, pt. 2
html
head
title
= yield(:title)
body
= block body
.footer
p.copyrignts '© Ololo team'
p.contacts 'Call us: +1 123 456 789'
= extends 'base.haml'
= block body
p 'Some intro text for index page'
.main
= yield
= extends 'base.haml'
= block body
.left
= yield(:left_block)
.right
= yield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment