Fix toctree on static pages