Skip to content

Instantly share code, notes, and snippets.

@sj26
Forked from rwz/application.html.slim
Created April 11, 2012 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sj26/2359111 to your computer and use it in GitHub Desktop.
Save sj26/2359111 to your computer and use it in GitHub Desktop.
nestive layouts
= extends :html5_base do
- append :head do
meta(http-equiv="X-UA-Compatible" content="IE=edge")
title Lolwut
= area :assets do
= javascript_include_tag 'application'
= yield
#fb-root
doctype html
html
head= area :head
body= yield
= extends :application do
- append :assets do
= javascript_include_tag 'some_other_crap'
.sidebar
= area :sidebar do
h3 Here be most popular posts
.posts-content
h1 Here be posts
= yield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment