use new TOC logic instead of separate index.html