fix resource paths to make it work on GitHub pages