could not find the reverse filter mentioned anywhere although it exists in Liquid so I added it

Jérôme Coupé
2015-12-03 16:30:28 +01:00
parent 4b2d27b9a4
commit b20eb21eb4
+1
@@ -72,6 +72,7 @@ Hello {{ 'now' | date: "%Y %h" }}
* `round` - rounds input to the nearest integer or specified number of decimals
* `split` - split a string on a matching pattern *e.g.* `{{ "a~b" | split:"~" }} #=> ['a','b']`
* `modulo` - remainder, *e.g.* `{{ 3 | modulo:2 }} #=> 1`
* `reverse` - reverse sort the passed in array
## Tags