ext-dot
FilenameExtDot returns the file extension including the leading dot.
FilenameExtDot returns the file extension including the leading dot.
Input
string
Parameters
None
Returns
string
Examples
Read an extension with the dot included
Input
file_path = "/uploads/avatar.png"Template
{{ file_path | ext-dot }}Output
.pngBuild a filename suffix
Input
source = "Q3-report.pdf"Template
{{ source | ext-dot }}Output
.pdfHow is this guide?