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