Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道我如何将液体模板语言变量分配给小部件变量?
{% assign name='{{widgets.send_and_reply_3.inbound.Body}}'%}
这似乎不起作用。我已经删除了''并且也不起作用。提前致谢!
''
Twilio 开发人员布道者在这里。
在其他液体标签中使用小部件变量时,您不需要包含{或}括号。所以这应该适合你:
{
}
{% assign name = widgets.send_and_reply_3.inbound.Body %}