foodsoft/app/views/pages/_site_map.html.haml

11 lines
395 B
Text
Raw Normal View History

.column_content
%table
%tr
%th Titel
%th Zuletzt aktualisiert
- homepage = Page.find_by_permalink('Home')
= render :partial => 'page_list_item', :locals => {:page => homepage, :level => 0, :siteMap => 1}
- for page in @top_pages
- if page.id != homepage.id
= render :partial => 'page_list_item', :locals => {:page => page, :level => 0, :siteMap => 1}