But if I wanted to do something that included two variables I can't do it.
{% include "filter-concat" with "Foo" "Bar" %}
{% include "filter-concat" with "Foo" with "Bar" %}
{% include "filter-concat" with "Foo" and "Bar" %}
This should simply just make the variable filter-next-theme within the include an array that includes all the variables passed to it.
For instance the hack "function" in issue https://github.com/reggi/shopify/issues/3 needs two params one's an array of tags and one is the specific matched string. It would be a joy to write this:
{% include "filter-tag-key" with article and "author_url" %}
Something like this works.
But if I wanted to do something that included two variables I can't do it.
This should simply just make the variable
filter-next-theme
within theinclude
an array that includes all the variables passed to it.For instance the hack "function" in issue https://github.com/reggi/shopify/issues/3 needs two params one's an array of tags and one is the specific matched string. It would be a joy to write this: