Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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.

About

A hexo theme for creating a mirror's website, used by http://mirror.bjtu.edu.cn/.

Resources

License

Releases

No releases published

Packages

No packages published