Removed unusable stuff from fields.html.twig
Added slugify fuction.