jekyll-include-absolute-plugin icon indicating copy to clipboard operation
jekyll-include-absolute-plugin copied to clipboard

Does not allow variables for path name?

Open s-edwards opened this issue 4 years ago • 1 comments

The builtin {% include %} and {% include_relative %} tags support the use of variables for specifying the path, but this plugin appears to require a string literal for the path parameter. Can it be modified to support {{ expressions }} for variable values the way the builtin tags do?

s-edwards avatar Aug 14 '20 19:08 s-edwards

It seems like you need to include an extra pair of single quotes to make this work.

{% include_absolute '{{ variable_path }}' %}

lleeoochen avatar Dec 22 '20 05:12 lleeoochen