zthxxx / hexo-theme-Wikitten

A theme of Hexo for personal wiki which seems like Wikitten style.

Home Page:https://wiki.zthxxx.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

左边一栏出不来

zhigang90 opened this issue · comments

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

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

同问。下面是我的命令,不知道缺了什么
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

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

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]