fix links to be relative for api and gallery  in dimple create