some features:
- Applicable to personal wiki knowledge management
- Simple, double column, classified management
- The knowledge of multi-level sorting, the side can be expand at all levels of classification, easy to jump
- Categorize article according to file directory #4
hexo-theme-Wikitten kernel code base on icarus, so you can read base function document with icarus wiki.
Note: This theme requires Hexo v3.6 or late.
- Go to your hexo folder, then clone this theme
Wikittenintothemes/
$ cd your-hexo-directory
$ git clone https://github.com/zthxxx/hexo-theme-Wikitten.git themes/Wikitten- Rewrite to cover some default page template in site folder
$ cp -rf themes/Wikitten/_source/* source/
$ cp -rf themes/Wikitten/_scaffolds/* scaffolds/- Rename the
_config.yml.exampleto_config.ymlso you can config theme
$ cp -f themes/Wikitten/_config.yml.example themes/Wikitten/_config.yml
# edit and customize it
$ vim themes/Wikitten/_config.ymlmost configurations are same as the icarus theme, you can read with icarus wiki at first.
some recommend options setting which you can out of the box, see below #Configuration.
- Plugins requires in theme
package.jsonand you need install these.
here is those function and effect:
hexo-autonofollow // automatic make user open external links in new tab
hexo-directory-category // automatic categorize article according to their file directory
hexo-generator-feed // generate Atom 1.0 or RSS 2.0 feed
hexo-generator-json-content // generate a json content file for site search
hexo-generator-sitemap // generate sitemapyou can merge these plugins into the site's package.json file by npm install command install them once,
or in the site folder, you can install them with the following command:
$ npm install --save hexo-autonofollow hexo-directory-category hexo-generator-feed hexo-generator-json-content hexo-generator-sitemapModify theme setting in site config file _config.yml to Wikitten.
$ cd themes/Wikitten
$ git pull origin masterIn site config file _config.yml, recommend settings:
# Hexo Configuration
# URL
permalink: wiki/:title/
# Directory
skip_render:
- README.md
- '_posts/**/embed_page/**'
# Writing
new_post_name: :title.md # File name of new posts
## Markdown
## https://github.com/hexojs/hexo-renderer-marked
marked:
gfm: true
## Plugins: https://hexo.io/plugins/
### JsonContent
jsonContent:
meta: false
pages:
title: true
date: true
path: true
text: true
posts:
title: true
date: true
path: true
text: true
tags: true
categories: true
ignore:
- 404.html
### Creat sitemap
sitemap:
path: sitemap.xml
### Adds nofollow attribute to all external links in your hexo blog posts automatically.
nofollow:
enable: true
exclude:
- <your site url domain> # eg: zthxxx.meIn theme config file Wikitten/_config.yml, you can read more detailed commentary for some options.
Before the start, plase first change my personal info to yourself, including options that profile social_links history_control and so on.
(You still can enable them, but not recommend.)
other theme recommend settings:
# Customize
customize: # modify this information for yourself
sidebar: left # sidebar position, options: left, right
category_perExpand: false # enable article categories list per expanding
default_index_file: index.md # enable this, it will display at site index instead of default index page, or disable that it will display more articles order by time
# Widgets
widgets: # default use category only
- category
# - recent_posts
# - archive
# - tag
# - tagcloud
# - links
# History version
history_control: # make you wiki has history version control in page (view source code, edit online, compare historical changes)
enable: true
server_link: https://github.com # recommend use GitHub - https://github.com
user: <your GitHub name>
repertory: <your repertory name of this wiki source code>
branch: <branch name of this wiki site source code>

