Fix Liquid syntax error in feature_row include

Fix "Expected id but found open_square in `"{{page.[include.id] }}"`" in `feature_row` include.
This commit is contained in:
Michael Rose
2017-09-04 21:35:09 -04:00
parent c4ca06f4b9
commit b814f306d8
4 changed files with 5 additions and 5 deletions

View File

@ -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 %}