Adding in relation for currentSlug, which returns just the latest slug. Adding in permalink function (to currentSlug).