now add slug to template