【发布时间】:2014-11-04 16:12:39
【问题描述】:
按照这篇文章 METEOR SEO GUIDE https://gentlenode.com/journal/meteor-12-the-complete-guide-to-seo/20:
我已经安装了 Spiderable (meteor add spiderable)、phantomjs (apt-get install phantomjs),确保我所有的出版物都有回报。我正在使用流星 1.0.0 和 Iron-router 1.0.0。
一切似乎都运行良好,当我打开 localhost/?_escaped_fragment_= 时,我得到了 phantomjs 生成的静态内容(没有错误),但 {{>yield}} 中的内容不包括在内。如果我尝试将任何数据直接加载到布局 phantomjs 也会读取它。
如何使 {{>yield}} 中包含的内容对蜘蛛可读?
感谢任何帮助。
【问题讨论】:
标签: meteor seo web-crawler phantomjs iron-router