Add better permalinks and fix a deprecated config option.
Reflect permalink changes in the menu.