live
changed index links in main docs
fixed function on no pathname
fixed all index links