Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Rails 3.1.1 barebones HAML HTML5Boilerplate
!!!
/[if lt IE 7] <html class="no-js ie6 oldie" lang="en">
/[if IE 7] <html class="no-js ie7 oldie" lang="en">
/[if IE 8] <html class="no-js ie8 oldie" lang="en">
<!--[if (gt IE 8)]><html lang="en" class="no-js"><![endif]-->
%head
%meta{charset: "utf-8"}
%meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}
%title 'Rails 3.1.1 barebones HTML5Boilerplate'
%meta{content: "width=device-width,initial-scale=1", name: "viewport"}
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
%body
#container
%header
- flash.each do |name, msg|
= content_tag :div, msg, :class => "flash #{name}"
#main{role: "main"}
%section
= yield
%footer
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment