First post on the new site. It's a hugo site, using the terminal theme by panr. Previously Pelican was my static site generator of choice but I've heard good things about Hugo and fancied giving it a go.

Here's how its configured:

Installation

I'm using Hugo with Github Pages) and my own hosting.

As I won't be using Hugo/this blog everyday I will forget the commands for it so I've wrapped everything I need into a Makefile:


help:
	@echo "make {build|test|deploy|new-post}"
	@echo "make new-post POST=test"
	
build:
	@hugo -t terminal

test:
	@hugo server -t terminal

deploy: build
	./scripts/deploy-gh.sh
	./scripts/deploy-sftp.sh

new-post:
	hugo new posts/$(POST).md
	code .

The site source code is available here.

Why?

Few reasons: