Moving future development to slush-hexo-theme.
It's used to quickly scaffold a theme for hexo. The theme it creates is fully functional and has no design. That part is up to you!
It creates all of the necessary files you need to make your own theme within an existing hexo.js project.
You will be prompted for:
npm install -g generator-hexo-theme
Create a new hexo app using hexo-cli.
mkdir projectName && cd projectNamehexo init
Navigate to the directory you want to place the theme project in (most likely
mkdir mytheme && cd mythemeyo hexo-theme
To start the server go back to the root of your hexo project and run
hexo server --debug.
It might be necessary to goto the blog root and install a specific renderer for the template language you have chosen. Swig is built into Hexo at the current version.
# templatesnpm install hexo-renderer-ejsnpm install hexo-renderer-njksnpm install hexo-render-pug# stylesnpm install hexo-renderer-stylusnpm install hexo-renderer-lessnpm install hexo-renderer-sass