How to import? #509
Answered
by
mitsuhiko
explosion-mental
asked this question in
Q&A
How to import?
#509
-
Hi, I get template not found "template.j2" when using "template.j2" {% set primary = "#4455AA" %}
{% set name = "test" %} I'm unsure if I neet to |
Beta Was this translation helpful? Give feedback.
Answered by
mitsuhiko
May 3, 2024
Replies: 1 comment
-
Yes, you need to
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mitsuhiko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you need to
add_template
that file into the environment. Alternatively you can use a loader to automatically do that. You can find some examples here: