liquid-rust icon indicating copy to clipboard operation
liquid-rust copied to clipboard

Add variable support (`{% include {{ page.my_variable }} %}`) to our Jekyll-style `include`

Open epage opened this issue 7 years ago • 1 comments

Depends on #309

In looking at the Jekyll docs, it appears shopify allows expressions for include.

https://jekyllrb.com/docs/includes/

Besides the parser (see #138), we'd have a problem with this because we inline includes when parsing the file.

#95 steps through some of the design trade offs we might have to go through to fix this.

epage avatar Nov 08 '17 02:11 epage

How needed is this?

I don't see it in shopify's proprietary documentation https://help.shopify.com/themes/liquid/tags/theme-tags#include

epage avatar Nov 08 '17 02:11 epage