Permalinks
You can specify the permalinks for your site in _config.yml or in the front-matter for each post. VariablesBesides the following variables, you can use any attributes in the permalink. Variable Description :year Published year of posts (4-digit) :month Published month of posts (2-digit) :i_month Published month of posts (Without leading zeros) ..
Read morePlugins
Hexo has a powerful plugin system, which makes it easy to extend functions without modifying the source code of the core module. There are two kinds of plugins in Hexo: ScriptIf your plugin is relatively simple, it’s recommended to use a script. All you need to do is put your JavaScript files in the scripts folder and Hexo will load them during initializat..
Read moreQuick hexo startup
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post$ hexo new "My New Post" More info: Writing Run server$ hexo server More info: Server Generate static files$ hexo generate More info..
Read moreServer
hexo-serverWith the release of Hexo 3, the server has been separated from the main module. To start using the server, you will first have to install hexo-server. $ npm install hexo-server --save Once the server has been installed, run the following command to start the server. Your website will run at http://localhost:4000 by default. When the server is r..
Read moreSetup
Once Hexo is installed, run the following commands to initialize Hexo in the target <folder>. $ hexo init <folder> $ cd <folder> $ npm install Once initialized, here’s what your project folder will look like: . ├── _config.yml ├── package.json ├── scaffolds ├── source | ├── _drafts | └── _posts └── themes _config.ymlSite configura..
Read more