2016-06-28 11 views
0

_posts内の投稿フォルダにある静的なファイル(画像、PDFなど)を投稿のHTML版があるフォルダにコピーしたいと思います。内側_site静的ファイルを1つのJekyll投稿から公開サイトにコピー

のは、私がこのような構造を持っているとしましょう:パーマリンク用

_posts/ 
    2016/ 
    06/ 
     09-so-long-cloudflare/ 
     2016-06-09-so-long-cloudflare-and-thanks-for-all-the-fissh.md 
     cloudflare-logo.png 
     performance-report-sample.pdf 

マイジキル設定は次のとおりです。

# Permalinks 
permalink: /:year/:month/:day/:title/ 

私はこのようなサイトを生成したいと思います:

2016/ 
    06/ 
    09/ 
     so-long-cloudflare-and-thanks-for-all-the-fissh/ 
     index.html 
     cloudflare-logo.png 
     performance-report-sample.pdf 

私はこれを行うはずのthis pluginが見つかりましたが、動作させることはできません。このエラーが表示されます:

jekyll 3.1.6 | Error: undefined method `name' for #<Jekyll::Document:0x007fb7a0892b50> 

ありがとうございます!

答えて

関連する問題