Skip to content
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

Sub variable expansion #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

lksoft
Copy link

@lksoft lksoft commented Feb 18, 2016

Allows for variables to be embedded into the right side of the assign and be evaluated before the actual assign. For instance if I have an existing variable product_code, I can do the following:

{% assign product_data = site.data.{{ product_code }} %}

More than a single variable can be embedded.

@lksoft
Copy link
Author

lksoft commented Feb 18, 2016

So not sure why it says that all checks failed. I looked at the travis-ci page and it seems that the ruby 1.9.3 test failed. Though I don't think this has anything to do with the code I added. It fails installing jekyll, saying

Gem::InstallError: jekyll requires Ruby version >= 2.0.0.

So it looks like the integration setup might have an issue.

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

Successfully merging this pull request may close these issues.

None yet

1 participant