remove themes from url paths. Closes #512. Thanks @sbleon