A hexo theme for creating a mirror's website, used by http://mirror.bjtu.edu.cn/.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
layout
source
LICENSE
README.md
_config.yml

README.md

hexo-theme-mirror

A hexo theme for creating a mirror's website, used by BJTU Free and Open Source Software Mirror.

Usage

  1. Use hexo to create a website, use npm to remove hexo-generator-index, because we will have a custom index. Install hexo-renderer-nunjucks and hexo-renderer-stylus.

  2. Clone this repo to YOURSITE/themes/mirror.

  3. Edit YOURSITE/themes/mirror/_config.yml, YOURSITE/_config.yml.

  4. Create different page as you menu sector in YOURSITE/themes/mirror/_config.yml, if you want to have a mirror table, add layout: indexTable to YOURSITE/source/index.html (or markdown file).

  5. Added your json files, one is YOURSITE/source/status/task_status.json, use mirror to generate it. Another is YOURSITE/source/help/desc_help.json, you can get a example here.