Skip to content

Instantly share code, notes, and snippets.

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