# magic **Repository Path**: mydaozun/magic ## Basic Information - **Project Name**: magic - **Description**: 这是我的托管平台的个人博客 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: https://gitee.com/atxgd1/magic.git - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-06-21 - **Last Updated**: 2023-06-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Hexo logo # Hexo Template > A fast, simple & powerful blog framework, powered by [Node.js](https://nodejs.org). Here is the template of it. [Demo](https://mmdjiji.github.io/hexo-template) | [Official Website](https://hexo.io) | [Documentation](https://hexo.io/docs/) | [GitHub](https://github.com/mmdjiji/hexo-template) ## CI/CD This repository uses GitHub Actions for CI/CD. You don't need to build your documents manually. Just commit your documents (then run `git push`), and then turn on the GitHub Pages in the settings to access your online documents. (For this demo is https://mmdjiji.github.io/hexo-template) ## !!! Attention !!! There are two lines to modify in `_config.yml`: 1. (At line 16) Set your site url here. For example, if you use GitHub Page, set url as `https://username.github.io/project`: ```yml url: https://jiji.pro/hexo-template ``` 2. (At line 107) Set your project name here, if your project name is `username` or `username.github.io`, just remove it at the end of `_config.yml`: ```yml root: /hexo-template ``` **If you would not like to do so, it cannot work correctly.** ## Hexo Features - Blazing fast generating - Support for GitHub Flavored Markdown and most Octopress plugins - One-command deploy to GitHub Pages, Heroku, etc. - Powerful API for limitless extensibility - Hundreds of [themes](https://hexo.io/themes/) & [plugins](https://hexo.io/plugins/) ## Commands **Install Hexo** ``` bash $ npm install hexo-cli -g ``` Install with [brew](https://brew.sh/) on macOS and Linux: ```bash $ brew install hexo ``` **Setup your blog** ``` bash $ hexo init blog $ cd blog ``` **Start the server** ``` bash $ hexo server ``` **Create a new post** ``` bash $ hexo new "Hello Hexo" ``` **Generate static files** ``` bash $ hexo generate ``` ## More Information - Read the [documentation](https://hexo.io/) - Visit the [Awesome Hexo](https://github.com/hexojs/awesome-hexo) list - Find solutions in [troubleshooting](https://hexo.io/docs/troubleshooting.html) - Join discussion on [Google Group](https://groups.google.com/group/hexo), [Discord](https://discord.gg/teM2Anj), [Gitter](https://gitter.im/hexojs/hexo) or [Telegram](https://t.me/hexojs) - See the [plugin list](https://hexo.io/plugins/) and the [theme list](https://hexo.io/themes/) on wiki - Follow [@hexojs](https://twitter.com/hexojs) for latest news ## License Follows [hexojs/hexo](https://github.com/hexojs/hexo) , use [MIT License](LICENSE). [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fhexojs%2Fhexo.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fhexojs%2Fhexo?ref=badge_large)