Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

categories 是否可以生成二级文件夹 及 显示 #105

Open
Quetweilan opened this issue Jul 13, 2021 · 4 comments
Open

categories 是否可以生成二级文件夹 及 显示 #105

Quetweilan opened this issue Jul 13, 2021 · 4 comments
Labels
later This issue is temporarily not processed remind This may be worked on later or not.

Comments

@Quetweilan
Copy link

目标:在网页 categories 页面下 显示一级文件夹标题,点开后为二级文件夹,直到最后一层显示所有文件名。
比如 一级文件夹 “笔记”;二级文件夹 “Hexo建站” ;属于二级文件夹的文件 “hexo更换主题.md”
在网站categories 页面下只显示“笔记”。点开后显示 ”hexo建站”,点开后显示 ”hexo更换主题.md“
或者“笔记”点开后,就按demo中显示,在文件夹 “hexo建站“ 下直接显示 “hexo更换主题.md“

只做了二级文件夹的尝试
在主题文档里没有写。
在hexo.io官方文档里生成二级目录为categories: - [笔记, Hexo建站]
在网站categories页面下同时产生 笔记 和 Hexo建站 两个文件夹,并且都包含文件
image

image

@Siricee
Copy link
Owner

Siricee commented Jul 16, 2021

哦哦哦 我写主题的时候hexo还没有支持这个功能,hexo后来更新了。

让我想想怎么处理这个问题吧。如果一层一层文件夹做下去,排版也太难看了……

我不是很理解 这种东西有啥分类的必要,你不是有tag可以用吗,为啥要搞个文件系统进去???
对于一个博客来说,读者看你文章都够着急的了,谁会去点一堆文件夹找你的文章呢…

@Siricee Siricee added later This issue is temporarily not processed remind This may be worked on later or not. labels Jul 16, 2021
@Quetweilan
Copy link
Author

这种就是会对分类查找简单点。
在原来的排版中,在categories页面需要一直找,知道发现文件夹、
一层一层的话,很容易找到需要的。

不过想想 确实没太大必要...

@JTongChen
Copy link

虽然但是,请问有解决吗这个问题 哈哈

@Siricee
Copy link
Owner

Siricee commented Jul 25, 2022

虽然但是,请问有解决吗这个问题 哈哈

没解决,感觉没啥必要。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
later This issue is temporarily not processed remind This may be worked on later or not.
Projects
None yet
Development

No branches or pull requests

3 participants