0
我想将_posts
中发布的文章文件夹中的任何静态文件(图像,PDF等)复制到该文章的HTML版本所在的文件夹中,里面有_site
。将静态文件从一个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>
有什么想法吗?
谢谢!