供应商捆绑路径被添加到我的博客中

时间:2012-06-26 20:58:28

标签: heroku jekyll-extensions

我不知道这些博文的来源。我在Heroku上运行Jekyll并且不确定/ vendor / bundle文件来自哪里。当我在本地运行网站时,这些不存在。网站为m2m.io,然后点击博客链接。相关代码片段:

<li class="thisBlog"><h4><span style="float:left;">18 May 2009 &nbsp; </span> &raquo; <a href="/vendor/bundle/ruby/1.9.1/gems/jekyll-0.11.0/test/source/2009/05/18/empty-tags.html"><div class="brand-color" style="float:left;">Some Tags</div></a></h4></li>

<li class="thisBlog"><h4><span style="float:left;">18 May 2009 &nbsp; </span> &raquo; <a href="/vendor/bundle/ruby/1.9.1/gems/jekyll-0.11.0/test/source/2009/05/18/empty-tag.html"><div class="brand-color" style="float:left;">A Tag</div></a></h4></li>

<li class="thisBlog"><h4><span style="float:left;">12 Mar 2009 &nbsp; </span> &raquo; <a href="/vendor/bundle/ruby/1.9.1/gems/jekyll-0.11.0/test/source/2009/03/12/hash-%231.html"><div class="brand-color" style="float:left;">Hash</div></a></h4></li>

<li class="thisBlog"><h4><span style="float:left;">27 Jan 2009 &nbsp; </span> &raquo; <a href="/vendor/bundle/ruby/1.9.1/gems/jekyll-0.11.0/test/source/2009/01/27/empty-category.html"><div class="brand-color" style="float:left;">Category in YAML</div></a></h4></li>

<li class="thisBlog"><h4><span style="float:left;">27 Jan 2009 &nbsp; </span> &raquo; <a href="/vendor/bundle/ruby/1.9.1/gems/jekyll-0.11.0/test/source/2009/01/27/empty-categories.html"><div class="brand-color" style="float:left;">Category in YAML</div></a></h4></li>

1 个答案:

答案 0 :(得分:2)

添加

exclude:  [ Gemfile, Gemfile.lock, Procfile, vendor, gems]
你的_config.yml

中的