Code Monkey home page Code Monkey logo

hexo-theme-qna's Introduction

Theme QnA for Hexo

A Knowledge Base Theme for Hexo.

Documentation

Showcase:

Installation

Install

$ git clone https://github.com/cheng-kang/hexo-theme-qna.git themes/QnA

Enable

Modify theme setting in _config.yml to QnA.

Update

cd themes/QnA
git pull

Adavanced Features

Deploy to Github

Install hexo-deployer-git plugin for Hexo.

$ npm install hexo-deployer-git --save

Edit _config.yml in root directory of your Hexo blog.

deploy:
  type: git
  repo: <repository url> # https://github.com/cheng-kang/hexo-theme-qna.git
  branch: [branch] # master

Enable In-site Search Support for Chinese

By default, QnA support English in-site search.

Install hexo-generator-search plugin for Hexo.

$ npm install hexo-generator-search --save

Add New Page

  1. Add a new page with page name, e.g. about page. You can change page content by editing source/<page_name>/index.md.
$ hexo new page about
  1. Edit _config.yml in theme/QnA.
menu:
  Home: /
  Archive: /archives
  # Add new page config here
  # Page Dispay Name: /pagename
  # e.g.
  About: /about

hexo-theme-qna's People

Contributors

cheng-kang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hexo-theme-qna's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.