A wiki theme for Hexo.
CSS HTML JavaScript
Latest commit 3d3eeff Jan 9, 2017 @wzpan Update README.
Permalink
Failed to load latest commit information.
languages Add local search engine. Jan 8, 2017
layout Add local search engine. Jan 8, 2017
source Add local search engine. Jan 8, 2017
LICENSE First commit. Jul 13, 2014
README.md Update README. Jan 8, 2017
_config.yml Sort all notes chronologically. Jan 8, 2017

README.md

Hexo-Theme-Wixo

Turn your Hexo into a Wiki!

Requirements

Features

  • Simple - keep it simple and stupid;
  • Bootstrap - get the power of Twitter Bootstrap with minimal hassle;
  • Notebook - notebook-aware post arrangement and pagination. A category is a notebook;
  • Scrollspy - automatically updating ToC targets based on scroll position;
  • Local Search Engine - a build-in local search engine, with the help of hexo-generator-search.
  • Tag plugins - luxuriant Bootstrap tag plugins, provided by hexo-tag-bootstrap, including:
    • textcolor - a paragraph of text with specified color;
    • button - a button with target links, text and specified color;
    • label - a label with text and specified color;
    • badge - a badge with text;
    • alert - alert messages with text and specified color;

Install

1) install theme:

$ git clone https://github.com/wzpan/hexo-theme-wixo.git themes/wixo

2) install hexo-generator-search:

$ npm install hexo-generator-search --save

3) install hexo-tag-bootstrap (optional):

$ npm install hexo-tag-bootstrap --save

Enable

Modify theme setting in your _config.yml to wixo.

Update

$ cd themes/wixo
$ git pull

Configuration

rss: atom.xml
fancybox: true
favicon: favicon.png
inverse_sort: false
fold: true
google_analytics:
scratch_name: Scratch
search:
  path: search.xml
  field: all
  • rss - RSS link
  • fancybox - enable Fancybox
  • inverse_sort - whether to sort all notes inversely. By default wixo will sort all notes chronologically.
  • fold - whether to fold all the notebooks
  • google_analytics - Google Analytics ID
  • scratch_name - Notebook name of posts without categories variables

Front-Matter

  • toc - renders a table of contents

For example:

title: Tag Plugins
date: 2014-03-16 10:17:16
categories: Docs
toc: true
---

License

This theme is provided under MIT License.

Credits