Port of arnp's excellent theme to Hugo