Modifier: remove_right


Ensures that the string never ends with a specified string.

urls:
  - http://statamic.com/
  - http://laravel.com/
{{ urls }}
  {{ value | remove_right:/ }}
{{ /urls }}
http://statamic.com
http://laravel.com

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on October 31, 2019