Safer and less codey solution for reimplementing backlinks