Template for hexo-theme-reimu
git clone https://github.com/D-Sketon/reimu-template
cd reimu-template
npm install
npm run serverThe following features are pre-supported:
- support LaTeX (@reimujs/hexo-renderer-markdown-it-plus)
- support mermaid (hexo-filter-mermaid-diagrams)
- support git (hexo-deployer-git)
- support rss (hexo-generator-feed)
- support Algolia search (@reimujs/hexo-algoliasearch)
The configuration of Hexo is in _config.yml
The configuration of Reimu is in _config.reimu.yml
You can modify the configuration according to your needs
This local copy has been adjusted into a reusable personal blog starter:
- starter site metadata in
_config.yml - starter theme and social config in
_config.reimu.yml - starter
aboutandlinkspages - starter first post
- GitHub Pages workflow in
.github/workflows/deploy-pages.yml
- Create a GitHub repository for your blog.
- Push this project to that repository.
- Update
_config.yml:url: https://your-github-username.github.iofor a user site- or
url: https://your-github-username.github.io/repository-namefor a project site
- In GitHub repository settings, open
Pages. - Set the source to
GitHub Actions. - Push to
mainand the workflow will build and deploy the site.