-
Notifications
You must be signed in to change notification settings - Fork 81
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 extra variables to be passed to the template #52
Comments
Nice idea! |
Need it too |
Exactly what I was looking for. For now solved an issue by putting extra code in template:
|
Yes, but I didn't test the update.
But you can close my issue, I will reopen it necessary.
2018-05-17 13:58 GMT+02:00 Thomas Jaggi <notifications@github.com>:
… @B-Prod <https://github.com/B-Prod>, does the change in #42
<#42> solve your issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#52 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAppkbmC16dnyJcVdbe0otLwRBdfLBklks5tzWX-gaJpZM4M6pCm>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use case: pass a random string to the mustache template, so we can create a font-face definition like:
This may be really needed when updating an existing font on a site using cache mechanism.
This can be very easily done, by adding 1 line when building the SCSS file from the template:
It just pass the full "config" variable, so if you add any extra variable in the Gulp file, it is available in the template.
Full example
Gulpfile
Template
The text was updated successfully, but these errors were encountered: