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

9 lines
218 B
Text
Raw Normal View History

2009-08-12 19:00:45 +02:00
- content = wikified_body @page.body, @page.title
- toc = generate_toc @page.body
2012-10-09 02:31:10 +02:00
- unless toc.blank? or params[:preview]
- content_for :sidebar do
#wikitoc.well.well-small
%h3 Inhalt
= toc
= content