Checking if href is present in index file