Sha256: 5d2331a694ec74fb61698f0bce61cd35ca0b0b3e6ef795ac4bdb00e7a33cbf2c

Contents?: true

Size: 494 Bytes

Versions: 24

Compression:

Stored size: 494 Bytes

Contents

<div>
  <p><%= link_to 'Home', scrivito_path(Obj.root) %></p>

  <%= scrivito_tag_list :ul, Obj.root, :toclist do |list, page| %>
    <%= list.tag :li do %>
      <%= link_to page.display_title, scrivito_path(page) %>
    <% end %>
  <% end %>

  <% if Obj.root.toclist.empty? && scrivito_in_editable_view? %>
    <p>(Hint: To create a subpage, click on the blue navigation icon to the right.)</p>
  <% end %>
</div>

<%= scrivito_tag :h1, @obj, :title %>
<%= scrivito_tag :div, @obj, :body %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
scrivito_sdk-1.12.0.rc2 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-1.12.0.rc1 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-1.11.0 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-1.11.0.rc1 lib/generators/scrivito/install/templates/app/views/page/index.html.erb