Update index.php

Removing most of the getSlug function enables all characters to be input into the navigation menu (and titles).