Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如果Jekyll类别有空格,它们将不起作用_Jekyll - Fatal编程技术网

如果Jekyll类别有空格,它们将不起作用

如果Jekyll类别有空格,它们将不起作用,jekyll,Jekyll,这是我第一次使用jekyll,我在分类方面遇到了一些问题 以下工作很好: categories: - test - test1 但是如果我尝试用两个词来划分一个类别,例如 categories: - test test - test1 然后站点中断,我得到以下错误: Not Found `/test/test1/2014/10/24/paper-prototype-the-anti-coding-usability-test.html' not found. 我已经尝试了所有不同的

这是我第一次使用jekyll,我在分类方面遇到了一些问题

以下工作很好:

categories:
  - test
  - test1
但是如果我尝试用两个词来划分一个类别,例如

categories:
- test test
- test1
然后站点中断,我得到以下错误:

Not Found
`/test/test1/2014/10/24/paper-prototype-the-anti-coding-usability-test.html' not found.
我已经尝试了所有不同的前置格式,但都没有成功。不过,它可以很好地处理标签

任何帮助都将不胜感激


谢谢。

我没有意识到jekyll正在将类别添加到URL,我更新了我的_配置,将permalink://:title/包括在内,这样就不会再这样了。现在开始工作:)