Buggy code for determining homepage character via the url hashtag.