Made resource links absolute, fixing a bug when the url wasn't the root directory.