fix path to /resources for github pages