Revert "fix ToC on pub pages"

This reverts commit 1d7bfef9884ec41896f9e768e121d374d153a80b.