Open wxl778 opened 4 months ago
配置了 sidebar:
usePostTitle: true
侧边栏目录树未能正常显示分类
什么意思?这个字段看着生效了啊,侧边栏的标题就是你文章的标题。分类树是用的文件夹名字,不是单独读取的什么字段
侧边栏展示所属文章分类的树型结构
https://github.com/wujun234/hexo-theme-tree/blob/master/layout/_partial/sidebar.ejs 逻辑在这里,根据 post.slug 分割的
配置了 sidebar:
ture: title name; false: file name
侧边栏目录树未能正常显示分类