Sha256: 14f6848a4337dacd221a4614ef0c23e4d11131797d605deb688163c9514d28fc

Contents?: true

Size: 1.6 KB

Versions: 5

Compression:

Stored size: 1.6 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <%= render :partial => "/shared/head", :locals => {:theme => true} %>
  <body>
    <div id="header">
      <div class="inside">
        <h2>
          <%= link_to RefinerySetting.find_or_set(:site_name, "Company Name"), root_url %>
        </h2>
        <p class="description">
          <%= link_to "Home", root_url %>
        </p>
      </div>
    </div>
    <div id='primary'>
      <div class='inside clearfix'>
        <%= yield %>
      </div>
    </div>
    <div id="ancillary">
      <div class="inside">
        <div class="block first" style='margin: 0;'>
          <h2>Recent Posts</h2>
          <% if NewsItem.latest.empty? %>
            <p>No news posts yet</p>
          <% else %>
            <ul>
              <% NewsItem.latest.each do |item| %>
                <li>
                  <%= link_to item.title, news_item_url(item) %>
                </li>
              <% end %>
            </ul>
          <% end %>
        </div>
        <div class="block pages">
          <h2>
            Pages
          </h2>
          <%= render :partial => 'shared/menu' %>
          <div class="clear"></div>
        </div>
      </div>
      <hr class="hide" />
      <div id="footer">
        <div class="inside">
          <p style='clear: both; text-align: center;'>
             Copyright &copy; <%= Time.now.year %>
             <%= RefinerySetting.find_or_set(:site_name, "Company Name") %>
          </p>
        </div>
      </div>
    </div>
  </body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-0.9.6.19 themes/hemingway/views/layouts/application.html.erb
refinerycms-0.9.6.18 themes/hemingway/views/layouts/application.html.erb
refinerycms-0.9.6.17 themes/hemingway/views/layouts/application.html.erb
refinerycms-0.9.6.16 themes/hemingway/views/layouts/application.html.erb
refinerycms-0.9.6.15 themes/hemingway/views/layouts/application.html.erb