Hello Hexo

I used Hexo as my blogs framework and the theme is a modified version of the landscape theme, its really simple to use and integrate changes.

Hexo Installation

1
2
3
4
5
6
7
# Verify required software for Hexo is installed, if not check the sweet video below
node -v
git version

# Install hexo
npm install -g hexo-cli
hexo -v

Create Hexo Site

This is done via the Hexo CLI

1
2
# barebones hexo, this will create the folder `myblog` and initialize hexo blogging framework 
hexo init carlpaton.github.io

Configuration Files:

  • blog config“ refer to the _config.yml in the blog root directory.
  • theme config“ refer to the path theme/landscape/_config.yml

Quick Start

Original links from the frameworks hello world starter post.

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
2
3
4
$ hexo server
$ hexo s

$ hexo s --draft ~ includes posts in `source\_drafts`

More info: Server

Generate static files

1
2
$ hexo generate
$ hexo g

More info: Generating

Deploy to remote sites

1
2
$ hexo deploy
$ hexo d

More info: