template: display foreign relations correctly for inspire-themes.