zthxxx / hexo-theme-Wikitten

A theme of Hexo for personal wiki which seems like Wikitten style.
https://wiki.zthxxx.me/
MIT License
680 stars 133 forks source link

左边一栏出不来 #78

Open zhigang90 opened 3 years ago

zhigang90 commented 3 years ago

您好,请问左边一栏出不来,应该在哪里设置呢

zthxxx commented 3 years ago

看下主题配置里面 sidebar,以及文章的 category 有没有

yuxuanh commented 3 years ago

同问。下面是我的命令,不知道缺了什么 hexo init fold_blog git clone https://github.com/zthxxx/hexo-theme-Wikitten.git themes/Wikitten cp -rf themes/Wikitten/_source/ source/ cp -rf themes/Wikitten/_scaffolds/ scaffolds/ cp -f themes/Wikitten/_config.yml.example themes/Wikitten/_config.yml npm install --save hexo-autonofollow hexo-directory-category hexo-generator-feed hexo-generator-json-content hexo-generator-sitemap

update theme to Wikitten

vi _config.yml

yuxuanh commented 3 years ago

您好,请问左边一栏出不来,应该在哪里设置呢

like this link said: https://github.com/zthxxx/hexo-directory-category

add below in _config.yml

auto_dir_categorize: enable: true # options:true, false; default is true force: false # options:true, false; default is false

add category in post

categories: [CS, Usage]