A hexo theme for creating a mirror's website, used by BJTU Free and Open Source Software Mirror.
-
Use hexo to create a website, use npm to remove
hexo-generator-index, because we will have a custom index. Installhexo-renderer-nunjucksandhexo-renderer-stylus. -
Clone this repo to
YOURSITE/themes/mirror. -
Edit
YOURSITE/themes/mirror/_config.yml,YOURSITE/_config.yml. -
Create different page as you
menusector inYOURSITE/themes/mirror/_config.yml, if you want to have a mirror table, addlayout: indexTabletoYOURSITE/source/index.html(or markdown file). -
Added your json files, one is
YOURSITE/source/status/task_status.json, use mirror to generate it. Another isYOURSITE/source/help/desc_help.json, you can get a example here.