mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
661 B
661 B
title, description
| title | description |
|---|---|
| append | Liquid filter that appends a string to another string. |
Concatenates two strings and returns the concatenated value.
Input
```liquid {% raw %} {{ "/my/fancy/url" | append: ".html" }} {% endraw %} ```Output
```text {{ "/my/fancy/url" | append: ".html" }} ```append can also be used with variables:
Input
```liquid {% raw %} {% assign filename = "/index.html" %} {{ "website.com" | append: filename }} {% endraw %} ```Output
```text {% assign filename = "/index.html" %} {{ "website.com" | append: filename }} ```