Refactor related links grouping to use intermediate linklist in HTML