Skip to content

Instantly share code, notes, and snippets.

@ryanburnette
Forked from blakehilscher/slim-html5-boilerplate
Last active January 1, 2016 20:48
Show Gist options
  • Save ryanburnette/8198991 to your computer and use it in GitHub Desktop.
Save ryanburnette/8198991 to your computer and use it in GitHub Desktop.
It's HTML5 Boilerplate(ish) ... in Slim.
doctype html
html.no-js
head
meta charset="utf-8"
meta content="IE=edge" http-equiv="X-UA-Compatible"
title Title
meta content="width=device-width,initial-scale=1" name="viewport"
/ Place favicon.ico and apple-touch-icon(s) in the root directory
link href="global.css" rel="stylesheet"
script src="js/vendor/modernizr-2.7.1.min.js"
script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"
body
/![if lt IE 8]
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
p Hello world! This is a slim HTML5 document similar to HTML5 Boilerplate.
@arxpoetica
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment