如何将Jekyll帖子分成两个不同的文件夹? [英] How to separate Jekyll posts into two different folders?
本文介绍了如何将Jekyll帖子分成两个不同的文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个_posts
文件夹,我只是想要一种简单的方法将该文件夹中的帖子分为两个不同的文件夹,并且纯粹出于组织原因而没有任何永久链接更改.
I have a _posts
folder and I just want a simple way to separate the posts in the folder into two different folders, and not have any permalink changes, for purely organizational reasons.
推荐答案
只需在您的_posts
目录中创建子目录;当Jekyll生成永久链接时,子目录将被忽略.
Just create subdirectories in your _posts
directory; the subdirectories will be ignored when Jekyll generates permalinks.
这篇关于如何将Jekyll帖子分成两个不同的文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文