truncate is already available in liquid templating language. no plugin is required