Blog for NJU MSC
Master contains the website.
Dev contains the source code
Access https://njumsc.github.io for the website.
- Clone the
dev
branch (instead of master) npm install
hexo new {title}
to create a post- Write the content in /source/{title}.md. Put assets (like images) under /source/{title}, and use it as {% asset_img {relative path to /source/{title}} %}
hexo clean
clean up all previously built fileshexo generate
generate fileshexo serve
open a local server and check the website locallyhexo deploy
deploy contents into master branch.
Refer to Hexo Website for details.