if locationType is 'hash' or 'none', set base to '../'

first time committing, not sure if it is against the original design