Skip to content

Instantly share code, notes, and snippets.

@acconrad
Forked from fnhipster/html5.haml
Created April 26, 2012 20:39
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save acconrad/2502955 to your computer and use it in GitHub Desktop.
Save acconrad/2502955 to your computer and use it in GitHub Desktop.
HTML5 HAML Template
!!!
%title= "Your Website"
%meta{ :charset => "utf-8" }
%meta{ :http-equiv="X-UA-Compatible" :content => "IE=edge,chrome=1" }
%meta{ :content => "", :name => "description" }
%meta{ :content => "", :name => "author" }
%link{ :href => "/css/style.css", :rel => "stylesheet" }
%header
%nav
%ul
%li= "Menu Item"
%section
%article
%header
%h2= "Article Title"
%p
Posted on
%time{ :datetime => "2009-09-04T16:31:24+02:00" }= "September 4th 2009"
by
%a{ :href => "#" }= "Author Name"
-
%a{ :href => "#" }= "6 comments"
%article
%p
It doesn't look so shiny to me. I just want to talk. It has nothing to do
with mating. Fry, that doesn't make sense. Why would I want to know that?
%p
They're like sex, except I'm having them! You seem malnourished. Are
you suffering from intestinal parasites? Yeah. Give a little credit
to our public schools.
%aside
%h2= "The Sidebar"
%p
Michelle, I don't regret this, but I both rue and lament it. Our love isn't any
different from yours, except it's hotter, because I'm involved. Bender, quit
destroying the universe! Robot 1-X, save my friends! And Zoidberg!
%footer
%p
Copyright 2012 My Name
@kinduff
Copy link

kinduff commented Feb 16, 2013

Good one

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