我可以在Jekyll Front事项中使用include吗?
设置这样的变量很有用:
---
excerpt: Bitcoin Bulls customers pay in USD but those dollars are all converted to bitcoin.
image: {% include first-post-image-src.html }
---
这样我可以在其他地方引用post.image。
当我尝试上面的代码时,我收到此错误:
Error reading file /Users/smithd98/apps/bitcoinbulls.net/_posts/2014-09-08-We-Convert-All-Dollars-to-Bitcoin.md: (<unknown>): found character that cannot start any token while scanning for the next token at line 3 column 9
答案 0 :(得分:2)
答案是否定的。你不能将液体标签放在Yaml Front Matter中。