Take pages labels into account in left menu.

And use `config.dashboard.type` when available.