This will take a given string and add text to the end of it. The text will not be added to the given string if the string already ends with the text.
{{ string | endwith: append }}
string
string. required. The string of text to have something appended to itappend
string. required. The text to append to the end of the string.{{ "https://google.com" | endwith: "/feeling-lucky/" }}
https://google.com/feeling-lucky/