Liquid syntax error: "Expected end_of_string but found pipe in "name in __names | sort"" in group-by-array include

`sort` not allowed in `for` statements, remove it.
This commit is contained in:
Michael Rose
2017-09-04 21:21:14 -04:00
parent e8d83de8b7
commit c4ca06f4b9
4 changed files with 6 additions and 4 deletions

View File

@ -18,7 +18,7 @@
<!-- Uniq -->
{% assign __names = __names | sort %}
{% for name in __names | sort %}
{% for name in __names %}
<!-- If not equal to previous then it must be unique as sorted -->
{% unless name == previous %}