<%= link_to 'Home', scrivito_path(Obj.homepage) %>

<%= scrivito_tag_list :ul, Obj.homepage, :toclist do |list, page| %> <%= list.tag :li do %> <%= link_to page[:title].presence || '(Untitled)', scrivito_path(page) %> <% end %> <% end %> <% if Obj.homepage.toclist.empty? && scrivito_in_editable_view? %>

(Hint: Click on the Scrivito icon to the right to create the first subpage.)

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