Hopefully fixed the referencing issue this time

Sorry for the many commits but debugging gh-pages on a local machine is
quite hard :) Gotta admit it was my fault though...