June 24, 2018

Hugo

We’ve converted to Hugo, here are some reasons you may also want to consider moving to a static site generator for your next project

What is Hugo?

The claim is that Hugo is:

The world’s fastest framework for building websites

SImply put, it’s an open-source static site generator.

What we love about Hugo

Hugo is a tool to generate static websites.

There is no monkey business with plugins, add-ons, themes, updates, security and more.

Simply start writing in your favorite text editor, save and live-reload at play.

Why static?

Static websites run fast.

A couple of items are at play here:

  • no host, using GitHub pages to serve out this website.
  • No database connected, not required.
  • Static HTML website using Hugo.

Settings up a new website

Install Hugo - the Quickstart Guide …

Create new site

hugo new site sitename

Start local Hugo server

hugo server

Create New Post

hugo new posts/----.md

Taxonomy - Category & Tags

If you’re using YAM:, simply add the following to your posts

categories: 
- hugo
tags: 
- hugo
tags: ["hugo"]

https://gohugo.io/content-management/taxonomies/#add-taxonomies-to-content

Make it pretty URL

url: "go-hugo-go"

https://gohugo.io/content-management/organization/#url-1

Set summary of posts

Within your content simply add

<!--more-->

Themes

https://minimo.netlify.com/docs/

Images

Resources

http://danbahrami.io/articles/building-a-production-website-with-hugo-and-gulp-js/

Hugo Basic Usage