logic to fetch and render individual links