Adds horizontal lines and links to all headers of location