Sha256: a2d73b036e72330abbb9a1eb7ae7ccaef0b124cc2f4f87152699dbf80b1a1fef

Contents?: true

Size: 1.1 KB

Versions: 8

Compression:

Stored size: 1.1 KB

Contents

!!!
= ie_html :class => 'no-js', :lang => :en do
  %head
    %meta{:charset => "utf-8"}
    %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}
    = csrf_meta_tag
    %title= page_title "Default title"
    %meta{:content => yield(:description), :name => "description"}
    %meta{:content => yield(:author), :name => "author"}
    %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
    %link{:href => "/favicon.ico", :rel => "shortcut icon"}
    :javascript
      document.documentElement.className = document.documentElement.className.replace('no-js', 'js');
    = stylesheet_link_tag "application"
    = javascript_include_tag "application"
  %body{:id => page_id}
    = flash_messages
    #main-wrapper
      %header#header
        %h1= link_to_unless_current 'Welcome aboard!', root_path
      #body
        %section#content
          = yield
        %aside
          = content_for?(:sidebar) ? yield(:sidebar) : render("shared/sidebar")
    %footer#footer
      %p
        This application was generated with #{link_to 'Playmo', 'http://github.com/tanraya/playmo'} gem

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
playmo-0.1.10 lib/generators/rails/templates/layout.html.haml
playmo-0.1.9 lib/generators/rails/templates/layout.html.haml
playmo-0.1.8 lib/generators/rails/templates/layout.html.haml
playmo-0.1.7 lib/generators/rails/templates/layout.html.haml
playmo-0.1.6 lib/generators/rails/templates/layout.html.haml
playmo-0.1.5 lib/generators/rails/templates/layout.html.haml
playmo-0.1.4 lib/generators/rails/templates/layout.html.haml
playmo-0.1.3 lib/generators/rails/templates/layout.html.haml