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

How to split up giant macros.html into many files without changing interface? #262

Open
mw44118 opened this issue Aug 27, 2013 · 0 comments

Comments

@mw44118
Copy link

mw44118 commented Aug 27, 2013

At the top of my templates, I do something like:

{% import 'macros.html' as m %}

That macros.html file is gigantic. I tried moving some of the macros into other files and then importing them back into macros.html, but that doesn't seem to work. I get an error that my macros.html don't contain the macros I moved out.

Any ideas?

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

No branches or pull requests

1 participant