是否可以防止 jekyll 使用子目录作为类别
Is it possible to prevent jekyll from using subdirectories as categories
我正在使用 Jekyll 创建个人博客,只是为了整理个人笔记。
我开发的博客拥有尽可能多的子博客,因为我的笔记需要。
我刚刚注意到 _posts
以外的其他目录中的所有帖子都将该目录作为一个类别。有没有办法删除此功能?
在 _posts/folder1
中放置 post:未设置“类别”。
将 post 放在 folder2/_posts
中:folder2 的属性“categories”。
请注意,我们讨论的是 categories 变量而不是 category,两者是不一样的。
我正在使用 Jekyll 创建个人博客,只是为了整理个人笔记。
我开发的博客拥有尽可能多的子博客,因为我的笔记需要。
我刚刚注意到 _posts
以外的其他目录中的所有帖子都将该目录作为一个类别。有没有办法删除此功能?
在 _posts/folder1
中放置 post:未设置“类别”。
将 post 放在 folder2/_posts
中:folder2 的属性“categories”。
请注意,我们讨论的是 categories 变量而不是 category,两者是不一样的。