Added support for two kinds of toc: org and gitit