Sha256: cdeca500d71390931853029dcc327215cef4ba4cfed3a5b67451518fcc21183e

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

<!DOCTYPE html>
<%%= ie_html :class => 'no-js', :lang => :en do %>

  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <%%= csrf_meta_tag %>

    <title><%%= page_title "Default title" %></title>
    <meta name="description" content="<%%= yield :description %>">
    <meta name="author" content="<%%= yield :author %>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="shortcut icon" href="/favicon.ico">
    
    <%%= stylesheet_link_tag "application" %>
    <%%= javascript_include_tag "application" %>
  </head>
  <body id="<%%= page_id %>">
    <%%= flash_messages %>
    
    <div id="main-wrapper">
      <header>
	      <h1><%%= link_to_unless_current 'Welcome aboard!', root_path %></h1>
      </header>

      <div id="body">

        <section id="content">
          <%%= yield %>
        </section>

	    <aside>
	      <%%= content_for?(:sidebar) ? yield(:sidebar) : render("shared/sidebar") %>
	    </aside>

      </div>
    </div>

    <footer>
      <p>
        This application was generated with <%%= link_to 'Playmo', 'http://github.com/tanraya/playmo' %> gem
      </p>
    </footer>
  </body>
<%% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playmo-0.0.11 lib/generators/rails/templates/layout.html.erb
playmo-0.0.10 lib/generators/rails/templates/layout.html.erb