Skip to content

Instantly share code, notes, and snippets.

@krainboltgreene
Created June 9, 2012 19:39
Show Gist options
  • Save krainboltgreene/2902288 to your computer and use it in GitHub Desktop.
Save krainboltgreene/2902288 to your computer and use it in GitHub Desktop.
html(5) ->
meta ->
title ->
"My Website"
body({ class: control.name, id: control.action.name }) ->
p ->
"Hello, World!"
html(5) do(
meta do(
title do("My Website")
)
body(control.name, control.action.name) do(
p do("Hello, World!")
)
)
html 5 do
meta do
title { "My Website" }
end
body class: control.name, id: control.action.name do
p { "Hello, World!" }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment