We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
现在支持 {{include('foo.xtpl', foo='bar')}} 的语法,但是在实际使用中,没有 include ('foo.xtpl', {foo: 'bar'}) 好用。
{{include('foo.xtpl', foo='bar')}}
include ('foo.xtpl', {foo: 'bar'})
The text was updated successfully, but these errors were encountered:
@yiminghe 如何?
Sorry, something went wrong.
可能有一些应用场景是:
{{set root = {moda: {}, modb: {}}) }} {{ include('mod/a.xtpl', moda) }} {{ include('mod/b.xtpl', modb) }}
这样动态的参数好像不是特别好做
嗯,可以
eefea21
@dead-horse review 下
赞!
yiminghe
No branches or pull requests
现在支持
{{include('foo.xtpl', foo='bar')}}
的语法,但是在实际使用中,没有include ('foo.xtpl', {foo: 'bar'})
好用。The text was updated successfully, but these errors were encountered: