Revert "Revert "Adjust TOC to put slug-only TOC entry on top.""

This reverts commit f60c8d69ec9ebe953a740c4c3d9362a9a04cb8b7.