-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Liquid considers source include as template #223
Comments
I believe this would be standard Jekyll configuration of using the exclude key to exclude the yml file from processing. |
Jekyll applies liquid filtering to files that are publishable (and .adoc files if specified, see below). I see you're including a file from a publishable folder. A quick workaround is to move those files to a hidden folder, which is a folder that starts with an underscore. For example:
Since the file isn't published, liquid processing is guaranteed not to be applied to it. It's important to understand that jekyll-asciidoc does not apply liquid processing to files. That's something Jekyll does all on its own. As described in the documentation, liquid processing is not enabled on .adoc files by default, so you have to explicitly enable it by setting the @djencks this is probably worth mentioning in that section in the docs. |
Current wording:
|
My Asciidoc file includes a YAML file
This YAML file contains some Jinja template markers (It's an Ansible related doc):
This Jinja marker are interpreted by Liquid:
When I remove the include in the Asciidoc file, the problem persists.
So I guess Liquid thinks my YAML file is for him and tries to render it.
How can I tell Liquid to skip some files?
The text was updated successfully, but these errors were encountered: