~xdavidwu/xdavidwu.link

b7d383b0b66e8b83bc6ed29a0786417d5dbf16b0 — Michael Rose 7 years ago 5d2f24e
Fix Liquid syntax error in `feature_row` include

Fix "Expected id but found open_square in `"{{page.[include.id] }}"`" in `feature_row` include.
2 files changed, 2 insertions(+), 2 deletions(-)

M CHANGELOG.md
M _includes/feature_row
M CHANGELOG.md => CHANGELOG.md +1 -1
@@ 17,7 17,7 @@
- Reduce amount of blank pages when printing in Chrome. [#1196](https://github.com/mmistakes/minimal-mistakes/issues/1196)
- 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)
- 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)
- Fix Fix Liquid syntax error: "Expected id but found open_square in `"{{page.[include.id] }}"`" in `gallery` include.
- Fix Liquid syntax error: "Expected id but found open_square in `"{{page.[include.id] }}"`" in `gallery` and `feature_row` includes.
- Fix Liquid syntax error: "Expected end_of_string but found pipe in `"name in __names | sort"`" in `group-by-array` include.

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

M _includes/feature_row => _includes/feature_row +1 -1
@@ 1,5 1,5 @@
{% if include.id %}
  {% assign feature_row = page.[include.id] %}
  {% assign feature_row = page[include.id] %}
{% else %}
  {% assign feature_row = page.feature_row %}
{% endif %}