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

10 lines
228 B
Text
Raw Permalink Normal View History

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