【发布时间】:2014-05-17 20:24:18
【问题描述】:
在Jekyll/Octopress中,如何将一个标签的输出放在另一个标签内?
这就是我想做的(使用 Octopress 的img 标签):
{% img {% PluginThatOutputsAURL %} %}
如果我这样做,我会收到此错误:
Error processing input, expected syntax: {% img [class name(s)] [http[s]:/]/path/to/image [width [height]] [title text | “title text” [“alt text”]] %} %}
可以这样做吗?这样做的正确语法是什么?
【问题讨论】: