Getting the Links from the Doctrine Repository and feeding them through to the template