Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Plugin breaks passing a variable to an include file #64

Open
klomontes opened this issue May 18, 2016 · 3 comments
Open

Plugin breaks passing a variable to an include file #64

klomontes opened this issue May 18, 2016 · 3 comments

Comments

@klomontes
Copy link
Contributor

This works when the plugin is not enabled:

{% include features.html param="something" %}

However, when the plugin is enabled, that variable is ignored and you basically get this:

{% include features.html %}
@Anthony-Gaudino
Copy link
Contributor

Hi @klomontes, I just tested this and it works with the current stable plugin version and Jekyll 3.1.6.

Which version of the plugin and Jekyll are you using?
Are you using another plugin besides the Multiple Languages?

Also check if you are doing everything correct by looking into the Jekyll documentation for includes.

If you fail to get this working I would like to be able to see your code as I was unable to reproduce this problem.

@Anthony-Gaudino
Copy link
Contributor

Anthony-Gaudino commented May 25, 2016

@klomontes, I updated the example Jekyll site that is in this repository's master branch to include an example that passes a parameter using Jekyll's include tag.

If you are interested, you can clone the code and see it working.

@klomontes
Copy link
Contributor Author

@Anthony-Gaudino A very belated thank you! I will check it out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants