mirror of
https://github.com/kemko/liquid.git
synced 2026-01-07 02:35:40 +03:00
Big refactoring of SCSS active state for sidebar links update gitignore for node_modules folder removing node_modules from index Sticky Liquid link in sidebar Cleaned up index page Adding fixed width to buttons Refactoring Converted sidebar to use Collections Refactor sidebar CSS
434 B
434 B
title
| title |
|---|
| append |
append concatenates two strings and returns the concatenated value.
{% highlight liquid %} {% raw %} {{ "/my/fancy/url" | append:".html" }} {% endraw %}
=> "/my/fancy/url.html"
{% endhighlight %}
It can also be used with variables:
{% highlight liquid %} {% raw %} {% assign filename = "/index.html" %} {{ product.url | append:filename }} {% endraw %}
=> "#{product.url}/index.html"
{% endhighlight %}