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

Version Path
bivouac-0.0.4 examples/blog_goh/app/views/layout.rb
bivouac-0.0.3 examples/blog_goh/app/views/layout.rb
bivouac-0.0.7 examples/blog_goh/app/views/layout.rb
bivouac-0.0.6 examples/blog_goh/app/views/layout.rb
bivouac-0.0.5 examples/blog_goh/app/views/layout.rb
bivouac-0.0.8 examples/blog_goh/app/views/layout.rb
bivouac-0.1.1 examples/blog_goh/app/views/layout.rb
bivouac-0.0.9 examples/blog_goh/app/views/layout.rb
bivouac-0.1.0 examples/blog_goh/app/views/layout.rb
bivouac-0.1.3 examples/blog_goh/app/views/layout.rb
bivouac-0.1.4 examples/blog_goh/app/views/layout.rb
bivouac-0.1.5 examples/blog_goh/app/views/layout.rb
bivouac-0.1.2 examples/blog_goh/app/views/layout.rb
bivouac-0.1.6 examples/blog_goh/app/views/layout.rb
bivouac-0.2.0 examples/blog_goh/app/views/layout.rb
bivouac-0.2.1 examples/blog_goh/app/views/layout.rb
bivouac-0.2.3 examples/blog_goh/app/views/layout.rb
bivouac-0.2.2 examples/blog_goh/app/views/layout.rb
bivouac-0.2.5 examples/blog_goh/app/views/layout.rb
bivouac-0.3.0 examples/blog_goh/app/views/layout.rb