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

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -