I want to include a file, whose name is in page.var. How can I get get it included?
If the partial in page.var is written in markdown, how can I get it processed into html as it is included?
I’ve tried {% include {{page.var}} | markdownify %}, and every variation I can think of – and mostly I get no output and no error message.
I’m using the standard Jekyll – version 0.11.0.
EDIT:
It’s now possible thanks to the usage of
{% include {{my_partial}} %}, as per alexpeller’s response.Old answer, before Jekyll allowed this: