adds links at the end of each section