Skip to content
Blog source files
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.
content
themes
.gitmodules
.travis.yml
README.md
config.toml

README.md

chris.bracken.jp

If you were looking for my actual blog, you'd find it at chris.bracken.jp, but if you're here, odds are you're looking for the source. You've come to the right place.

Prerequisites

To build, you'll need hugo installed on your system.

Obtaining the source

First, clone the repo:

git clone git@github.com:cbracken/blog

Next, initialise and fetch git submodules:

git submodule update --init

Building and running

Fire up hugo's dev server:

# For the production site:
hugo server

# To run with draft posts enabled:
hugo server -D

Follow the on-screen instructions to test the site out locally.

Adding a new post

To create a new post:

hugo new post/yyyy-mm-dd-title-of-post.md

Edit content/post/yyyy-mm-dd-title-of-post.md in your favourite editor. When it's ready to post, remove the draft tag from the post header, commit the changes, and push.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.