Sha256: 13371dea27d3507d704eca16d79c5e93096850fb01ea29759af8b750bdbefe7f

Contents?: true

Size: 472 Bytes

Versions: 4

Compression:

Stored size: 472 Bytes

Contents

#
#  Project <%= @conf.appname %>
#
#  Created using bivouac on <%= Time.now %>.
#  Copyright (c) <%= Time.now.year %> __My__. All rights reserved.
#

module <%= @conf.appname %>::Views
  
  # Default Layout  
  def default_layout
    html do
      head do
        title '<%= @conf.appname %>'
      end
      body do
        h1.header { a '<%= @conf.appname %>', :href => R(Index) }
        div.content do
          self << yield
        end
      end
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bivouac-0.2.4 lib/bivouac/template/static/default_layout_view.rb
bivouac-0.2.5 lib/bivouac/template/static/default_layout_view.rb
bivouac-0.3.0 lib/bivouac/template/static/default_layout_view.rb
bivouac-0.4.0 lib/bivouac/template/static/default_layout_view.rb