jekyll-multiple-languages-plugin icon indicating copy to clipboard operation
jekyll-multiple-languages-plugin copied to clipboard

Plugin breaks passing a variable to an include file

Open klomontes opened this issue 8 years ago • 3 comments

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 %}

klomontes avatar May 18 '16 12:05 klomontes

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 avatar May 20 '16 19:05 Anthony-Gaudino

@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.

Anthony-Gaudino avatar May 25 '16 22:05 Anthony-Gaudino

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

klomontes avatar Apr 18 '17 08:04 klomontes