Add TOC in history page