Skip to content

Instantly share code, notes, and snippets.

@juvenn
Created October 28, 2009 07:22
Show Gist options
  • Save juvenn/220325 to your computer and use it in GitHub Desktop.
Save juvenn/220325 to your computer and use it in GitHub Desktop.
mustache things
{{#posts}}
{{! this is post stuff}}
{{/posts}}
class Blog
module Views
class Index < Mustache
def posts
@posts.map {
#...
}
end
end
end
end
<h1>Posts tagged with {{tag}}</h1>
{{<index}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment