Discussions
Singularize string filter
almost 9 years ago by Harry Blackett
I have a 'Categories' content type populated with pluralized category names ('movies', 'games', 'videos', etc.).
Is it possible to singularize a category name in certain places in the Liquid template? Or is it considered better practice to have a separate field in categories.yml for a singular name?