Sha256: ca35ffed56eba5522bcde486b39eb5c5d6287700f0c79c26ab1e0fa9d1e65bbb
Contents?: true
Size: 410 Bytes
Versions: 21
Compression:
Stored size: 410 Bytes
Contents
module Blog::Views def layout html do head do title 'blog' link :rel => 'stylesheet', :type => 'text/css', :href => '/public/stylesheets/style.css', :media => 'screen' end body do h1.header { a 'blog', :href => R(Index) } small { a 'add', :href => R(Add) } div.content do self << yield end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems