Fix main-title link
Add last slashes to menu items
Rewrite navigation generation