How to pass names of partials in Jekyll -
i want include file, name in page.var. how can get included?
if partial in page.var written in markdown, how can processed html included?
i've tried {% include {{page.var}} | markdownify %}, , every variation can think of - , no output , no error message.
i'm using standard jekyll - version 0.11.0
thanks
edit:
it's possible usage of {% include {{my_partial}} %}
, per alexpeller's response.
old answer, before jekyll allowed this:
you can't in jekyll.
include
directive expects string; doesn't "process" argument. can't assign filename regular liquid variable , include it. has string.
Comments
Post a Comment