kurtsson / jekyll-multiple-languages-plugin

I18n support for Jekyll and Octopress
MIT License
925 stars 202 forks source link

Plugin breaks passing a variable to an include file #64

Open klomontes opened 8 years ago

klomontes commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

@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 commented 7 years ago

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