Replace local table of content by global one in HTML sidebar

What about using a global TOC in HTML sidebar?