Register filter slugify for use in templates