file_basename
The file_basename filter parses the file path and returns just the basename value.
{{ '/path/to/my/file.pdf'|file_basename }}
The file_basename filter parses the file path and returns just the basename value.
{{ '/path/to/my/file.pdf'|file_basename }}