avillafiorita / jekyll-datapage_gen

Generate one page per yaml record in Jekyll sites.
369 stars 80 forks source link

Use includes in data #61

Closed daimz closed 4 years ago

daimz commented 4 years ago

I am trying to use includes inside posts for specific content blocks. When I am testing I just see the include displayed as a string: {% include components/blockquote.html copy="This is a test blockquote" %}

Is it possible to use includes with page_gen and if so how do I get it to not render as a string?

avillafiorita commented 4 years ago

[sorry for taking so long to process your request.]

The plugins does not interfere with posts, so I am not quite sure I understand: you should be able to add includes in the templates used by page_gen.