Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:17
What would you like to do?
!!! 5
%title Crazy Website
%meta{ :charset => "UTF-8" }
%meta{ "HTTP-equiv" => "Expires", :content => "0" }
%meta{ "HTTP-equiv" => "kiben", :content => "no-cache" }
%link{ :href => "css/reset.css", :rel => "stylesheet", :type => "text/css" }
%link{ :href => "css/style.css", :rel => "stylesheet", :type => "text/css" }
/ This line is HTML comment.
-# This line HAML comment.
%li.item{:id => "item#{}"}=
%h2 Article Title
Posted on
- now = DateTime.current
- now_s ='%m/%d/%Y')
%time{ :datetime => "#{now}" }= now_s
= link_to author_path
Author Name
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
%h2 The Sidebar
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore
eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia deserunt mollit anim id est laborum.
Copyright 2015 Name
%script{ :type => "text/javascript", :src => "js/util.js" }
%script{ :type => "text/javascript", :src => "js/app.js" }
alert("Use JavaScript fileter!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment