生成第404页时出现Pelican错误

时间:2016-09-13 09:44:31

标签: pelican

我使用http://docs.getpelican.com/en/3.6.3/tips.html

中的说明创建了一个404.md文件

此文件包含

Title: Not Found Status: hidden Save_as: 404.html Date: 2016-01-01 00:00:00

page 404

当我制作 鹈鹕内容 时,收到错误

ERROR: Unknown status 'hidden' for file blog/404.md, skipping it.

请告诉我,为什么你不能生成页面。为什么不知道状态'隐藏' ?

Thx WalkR

操作系统:FreeBSD 10.3-RELEASE 鹈鹕:3.6.3 Python:2.7.12

1 个答案:

答案 0 :(得分:0)

确保您正在创建页面而不是文章。尝试删除标题中的Date:行,然后将文件移至:/home/WalkR/www/www.test.local/content/pages/404.md

我已在development version of the docs中澄清了这一点。