Site now powered by hugo

hugo is a static website engine. This site was previously done using b2evolution, but with the expection of supporting user comments, did not need any of the dynamic overhead. I moved to hugo to eliminate having to moderate comments, manage updates and ward off hacking attempts.

Creating the site was a matter of installing hugo locally

apt-get install hugo python-pygments

and running hugo new site . in a new folder. Then I cloned the vienna theme from github into the themes directory. I also forked the theme in my github account so I can save the modifications I have made. I fixed a problem with the Google+ link, changed a few styles and changed the main image. I also have the entire site directory checked into github, so the themes folder is a nested repository. I add new content with hugo new post/, where I choose an appropritate name. This creates a new file which I edit using the remarkable markdown editor, editing the fields at the top and adding content at the bottom. Content is built using a small script:

hugo --cleanDestinationDir

The built site is pushed to my host using another script,

rsync -e "/usr/bin/ssh" --bwlimit=2000 -av ./public/

where is my web host account.