-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Make possible to use interpolation in include`s filenames #569
Comments
includes are compile-time, sorry! maybe some day we'll have a runtime variant but for now it would be far too slow |
Sad. Any workaround? |
Option 1Dynamically generate your jade file and then pass it to jade.render Option 2Do != renderFile(page.source, {page: page}) It's not quite the same as it's at runtime, so slow if not cached, and it requires you to explicitly pass any variables you want to be available. |
Something like this:
The text was updated successfully, but these errors were encountered: