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

Allow integers as parameters #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bterkuile
Copy link

At the moment implementing structures like:

{{#if (gt a b)}}
A is greater than b
{{/if}}

is possible. However using numbers in the templates is not.
This would be something like:

{{#if (gt my_value 10000)}}
Wow! What a great value!
{{/if}}

Therefore integers (and future floats) should be able to pass as parameters.

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.

1 participant