Skip to content

Instantly share code, notes, and snippets.

View darrin-wortlehock's full-sized avatar

Darrin Wortlehock darrin-wortlehock

View GitHub Profile
@defunkt
defunkt / layout.rb
Created May 27, 2010 01:41
Dirt cheap layouts with Mustache.
require 'mustache'
class Layout < Mustache
self.template = "Header
{{{yield}}}
Footer"
end
class Index < Mustache
self.template = "The Index."