Sha256: fa7bafb6c4ce5fb3f60a7836ed447dfc6e91ac36b6047eee9a83491ad1e43058

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <title><%= layout_title %></title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width" />
    <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
    <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
    <%= csrf_meta_tags %>
  </head>
  <body>
    <header id="header">
      <%= layout_logo %>
    </header>
    <section id="main">
      <section id="content">
        <%= layout_flash %>
        <%= layout_page_title %>
        <%= yield %>
      </section>
      <aside id="sidebar">
        <%= 
          if yield(:sidebar).blank?
            begin
              render("sidebar")
            rescue ActionView::MissingTemplate
              ""
            end
          else 
            yield(:sidebar)
          end
        %>
      </aside>
    </section>
    <footer id="footer">
      <%= layout_copyright %>
    </footer>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noa-layout-0.0.1 app/views/layouts/noa/layout/base.html.erb