Fix Liquid syntax error: Expected id but found open_square in "{{page.[include.id] }}"
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
{% if include.id %}
|
||||
{% assign gallery = page.[include.id] %}
|
||||
{% assign gallery = page[include.id] %}
|
||||
{% else %}
|
||||
{% assign gallery = page.gallery %}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user