Skip to content
For the Hackosophy blog
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scaffolds
source
themes
.gitignore
.gitmodules
README.md
_admin-config.yml
_config.yml
hexo-deploy.sh
package.json
yarn.lock

README.md

Blog

To work with hexo

Shortcuts

  • Create a new post hexo new "My New Post"

More info: Writing

  • Generate static files hexo generate

More info: Generating

Existing Project

  • Clone repo
  • yarn; yarn global add hexo-cli
  • Checkout already existing submodules in this project:
    git submodule update --init --recursive
    
  • Add optional plugins for theme-next (out of source-control)
    git clone https://github.com/theme-next/theme-next-fancybox3 themes/next/source/lib/fancybox
    

To add a submodule (hexo theme)

git submodule add https://github.com/theme-next/hexo-theme-next themes/next

Main documentation: https://hexo.io/docs/

Configuration: https://hexo.io/docs/configuration.html

New Project

https://hexo.io/docs/setup.html

$ hexo init <folder> #For new projects
$ cd <folder>
$ npm install
You can’t perform that action at this time.