n8han/pamflet — pull request #26 by eed3si9n (2012-02-16 07:02:44+00:00)
Title: collapsible toc

This is an additional feature built top of properties front matter (#24).

The new property called `toc` allows the authors to control how toc should be rendered per page.
`show` displays toc normally, `hide` hides it, and `collapse` collapses toc but lets the user toggle it.

This combined with per-page settings allows only the top page to display toc and keeps it toggled for the rest.

- http://eed3si9n.com/treehugger/dsl.html