Fix localnav not showing on content pages

Fixes #2155