Sha256: c441ff7e1dc79aee0846f9e08bcf1f6b7214edbf4d9879e1d0e0183bed2ea673

Contents?: true

Size: 1.16 KB

Versions: 5

Compression:

Stored size: 1.16 KB

Contents

<%= render :partial => "layouts/smithy/shared/head" %>
<body>
<%= render :partial => "layouts/smithy/shared/nav" %>
<div class="container-fluid">
  <%- classes = 'row' -%>
  <%- classes += ' with-sidebar' if content_for?(:secondary_nav) -%>
  <%- classes += ' with-related' if content_for?(:related) -%>
  <div id="body" class="<%= classes %>">
    <% if content_for? :secondary_nav %>
      <nav id="side" class="">
        <%= yield :secondary_nav %>
      </nav>
    <% end %>
    <div id="main">
      <% if content_for? :title %><h1><%= yield :title %></h1><% end %>
      <%= render :partial => "layouts/smithy/shared/flash", :locals => { flash: flash } %>
      <%= yield :top_content %>
      <div class="container-fluid">
        <section class="row" id="content-container">

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

          <% if content_for? :related %>
            <aside id="related">
              <%= yield :related %>
            </aside>
          <% end %>

        </section>
      </div>
    </div>
  </div>
</div>
<%= render :partial => "layouts/smithy/shared/footer" %>
<%= render :partial => "layouts/smithy/shared/tail" %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
smithycms-0.8.1 app/views/layouts/smithy/application.html.erb
smithycms-0.7.3 app/views/layouts/smithy/application.html.erb
smithycms-0.7.2 app/views/layouts/smithy/application.html.erb
smithycms-0.7.1 app/views/layouts/smithy/application.html.erb
smithycms-0.7.0 app/views/layouts/smithy/application.html.erb