在模板中,我使用 include 这样地:
include
{% include "blah.html" with x="..." only %}
我可以利用 x 在blah.html中。
x
我希望blah.html为 十 :
十
{% include "blah.html" only %}
由于显然没有内置的模板标记来设置模板中的变量,我不知道如何实现这一点。。。