Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 pelicanconf.py 里面我有:
STATIC_PATHS = ['images', 'extra/CNAME']
我在 images/filename.jpg 中有一个图像文件
当我运行时pelican content,我的内容按预期重建,但没有创建图像文件夹,我的文件也没有放在输出文件夹中。
pelican content
如何将图像文件放入输出文件夹以在我的网站上使用?
将 Pelican 3.5 与 Python 2.7.8 一起使用
您必须将图像放在“内容/图像”文件夹中。