make routes inline-able to work with non-root urls