[core] Refactor: get rid of header links and footer links drama.