-
-
Notifications
You must be signed in to change notification settings - Fork 78
Description
As a Jekyll user converting my documentation to AsciiDoc, I expect document variables that are processed in collections to be available through the page variables. In cases where the collection documents are not written out though, jekyll-asciidoc will not process the variables.
This line of source seem to point at the issue https://github.com/asciidoctor/jekyll-asciidoc/blob/master/lib/jekyll-asciidoc/integrator.rb#L36
Steps to reproduce:
- clone this project https://github.com/elmiko/jekyll-asciidoc-collection-test
- run
jekyll serve
(or equivalent) in the root of project - visit the page generated by jekyll
Expected output:
The generated page should contain the doctitles of the AsciiDoc files in the collection, and the content for each entry should display a page variable encoded in each.
Observed output:
Instead of doctitles, i see the default filename title created by Jekyll and the page variables are absent.
I will note that with help from @mojavelinux I was able to get the variables output by adding the output: true
key to my collection in the _config.yml
file for my project.
Suggested solution:
It would be great if these files just worked like the Markdown files that Jekyll normally processes. As a user I would expect the variables to be processed in my collection documents regardless of whether they are marked for output.