Once Hexo is installed, run the following commands to initialise Hexo in the target <folder>
.
$ hexo init <folder> |
Once initialised, here’s what your project folder will look like:
. |
_config.yml
Site configuration file. You can configure most settings here.
package.json
Application data. The EJS, Stylus and Markdown renderers are installed by default. If you want, you can uninstall them later.
{ |
scaffolds
Scaffold folder. When you create a new post, Hexo bases the new file on the scaffold.
source
Source folder. This is where you put your site’s content. Hexo ignores hidden files and files or folders whose names are prefixed with _
(underscore) - except the _posts
folder. Renderable files (e.g. Markdown, HTML) will be processed and put into the public
folder, while other files will simply be copied.
themes
Theme folder. Hexo generates a static website by combining the site contents with the theme.