if locationType is ``hash`` or ``none``, set base to ``../`` REF: #737

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