jekyll-asciidoc: AsciiDoc-set variables not resolving in Jekyll/Liquid

I’m just about to soft launch my first Jekyll-Asciidoc site, and I suddenly realize the Liquid templates are no longer resolving page variables set in AsciiDoc templates. I must have changed a setting or disrupted something, but I can’t figure it out. I did have it working.

If I set :page-permalink: /my-page, it does not pass to the build or the Liquid templates. If I prepend the file with the same var as front matter


---
permalink: /my-page

---

my permalinks start working again. What might I have done to cause this not to work? I have removed and reinstalled jekyll-asciidoc (2.0.1), re-run the bundle install – everything else is working but passing variables outside AsciiDoc files.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

I have joined. Very cool. Looking forward to sharing this project.