append
Append a specified string to the end of the input string, concatenating them together.
Syntax
{{ string | append: suffix }}Example
{% assign city = "Dallas" %}{{ city | append: " Metro Area" }}Output
Dallas Metro AreaThe append filter joins a suffix string directly to the end of an existing string variable without modifying the original value. It allows inline concatenation without creating intermediate template variables.
On keyword-driven landing page templates, append attaches regional descriptors or units to CSV attributes. For example, when building location headings: {{ row.city | append: ' Branch' }}. This maintains consistent branding and structured naming conventions across generated directories.
Filters
- abs
- append
- at_least
- at_most
- capitalize
- ceil
- compact
- concat
- date
- default
- divided_by
- downcase
- escape
- escape_once
- first
- floor
- join
- last
- lstrip
- map
- minus
- modulo
- newline_to_br
- plus
- prepend
- remove
- remove_first
- replace
- replace_first
- reverse
- round
- rstrip
- size
- slice
- sort
- sort_natural
- split
- strip
- strip_html
- strip_newlines
- times
- truncate
- truncatewords
- uniq
- upcase
- url_decode
- url_encode
- where
- raw
- slugify
- number_format
