Added toc to wikipages. Patched wikicloth.

* patched wikicloth to serve anchor links for sections
* added table of contents
* subpages list doesn't show up per default
This commit is contained in:
Benjamin Meichsner 2009-09-28 14:57:11 +02:00
parent 741815e24e
commit 67661cb716
9 changed files with 72 additions and 40 deletions

View file

@ -30,7 +30,7 @@
= "(#{User.find(version.updated_by).nick})"
- unless @page.children.empty?
#subpages
#subpages{:style => "display:none"}
.box_title
%h2 Unterseiten
.column_content