Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c4ca06f

Browse files
committedSep 5, 2017
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.
1 parent e8d83de commit c4ca06f

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed
 

‎CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
- Fix license URL in README file. [#1189](https://github.com/mmistakes/minimal-mistakes/pull/1189)
1717
- Reduce amount of blank pages when printing in Chrome. [#1196](https://github.com/mmistakes/minimal-mistakes/issues/1196)
1818
- Remove `#disqus_thread` duplicate from `comments-providers/disqus.html` as it is already in `comments.html` include. [#1199](https://github.com/mmistakes/minimal-mistakes/issues/1199)
19-
- Fix Liquid syntax esrrors in `tag-list.html` and `category-list.html` includes by removing parenthesis in `assign`s. [#1223](https://github.com/mmistakes/minimal-mistakes/issues/1223)
19+
- Fix Liquid syntax errors in `tag-list.html` and `category-list.html` includes by removing parenthesis in `assign`s. [#1223](https://github.com/mmistakes/minimal-mistakes/issues/1223)
2020
- Fix Fix Liquid syntax error: "Expected id but found open_square in `"{{page.[include.id] }}"`" in `gallery` include.
21+
- Fix Liquid syntax error: "Expected end_of_string but found pipe in `"name in __names | sort"`" in `group-by-array` include.
2122

2223
## [4.5.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.1)
2324

‎_includes/group-by-array

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<!-- Uniq -->
2020
{% assign __names = __names | sort %}
21-
{% for name in __names | sort %}
21+
{% for name in __names %}
2222

2323
<!-- If not equal to previous then it must be unique as sorted -->
2424
{% unless name == previous %}

‎docs/_docs/18-history.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ last_modified_at: 2017-09-04T21:14:27-04:00
2525
- Fix license URL in README file. [#1189](https://github.com/mmistakes/minimal-mistakes/pull/1189)
2626
- Reduce amount of blank pages when printing in Chrome. [#1196](https://github.com/mmistakes/minimal-mistakes/issues/1196)
2727
- Remove `#disqus_thread` duplicate from `comments-providers/disqus.html` as it is already in `comments.html` include. [#1199](https://github.com/mmistakes/minimal-mistakes/issues/1199)
28-
- Fix Liquid syntax esrrors in `tag-list.html` and `category-list.html` includes by removing parenthesis in `assign`s. [#1223](https://github.com/mmistakes/minimal-mistakes/issues/1223)
28+
- Fix Liquid syntax errors in `tag-list.html` and `category-list.html` includes by removing parenthesis in `assign`s. [#1223](https://github.com/mmistakes/minimal-mistakes/issues/1223)
2929
- Fix Fix Liquid syntax error: "Expected id but found open_square in `"{{page.[include.id] }}"`" in `gallery` include.
30+
- Fix Liquid syntax error: "Expected end_of_string but found pipe in `"name in __names | sort"`" in `group-by-array` include.
3031

3132
## [4.5.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.1)
3233

‎docs/_includes/group-by-array

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<!-- Uniq -->
2020
{% assign __names = __names | sort %}
21-
{% for name in __names | sort %}
21+
{% for name in __names %}
2222

2323
<!-- If not equal to previous then it must be unique as sorted -->
2424
{% unless name == previous %}

0 commit comments

Comments
 (0)
Please sign in to comment.