Sha256: 9fd6a14a8fdf883f3fd1b0a1d209f4bbf0ded3c8b5d6a23b5ef7aabbf53dd758

Contents?: true

Size: 975 Bytes

Versions: 4

Compression:

Stored size: 975 Bytes

Contents

<!DOCTYPE html>
<html>
  <head>
    <title><%= current_page.title %></title>
    <meta type="description" content="<%= current_page.content("Description", :text) %>" />
    
    <%= stylesheet_link_tag    "application", :media => "all" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>
  </head>
  <body>
    <%= thesis_editor %>
    <header>
      <h1><%= current_page.title %></h1>
    </header>
    
    <nav>
      <ul>
        <% root_pages.each do |p| %>
          <li><%= link_to p.name, p.path %></li>
        <% end %>
      </ul>
    </nav>

    <article>
      <div class="main-image"><%= current_page.content("Main Image", :image) %></div>
      <div class="content"><%= current_page.content("Main Content", :html) %></div>
    </article>

    <aside>
      <%= current_page.content("Sidebar Content", :html) %>
    </aside>

    <footer>
      <p><%= current_page.content("Footer Content", :text) %></p>
    </footer>
  </body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thesis-0.1.3 lib/generators/thesis/install/templates/page_templates/default.html.erb
thesis-0.1.1 lib/generators/thesis/install/templates/page_templates/default.html.erb
thesis-0.1.0 lib/generators/thesis/install/templates/page_templates/default.html.erb
thesis-0.0.4 lib/generators/thesis/install/templates/page_templates/default.html.erb