spf13 / Hugo

Description

A Fast and Flexible Static Site Generator built with love by spf13 and friends in Go.

Website | Forum | Dev Chat | Documentation | Installation Guide | Twitter

Travis CI status wercker status Appveyor status Dev chat at https://gitter.im/spf13/hugo

Hugo is a static HTML and CSS website generator written in Go. It is optimized for speed, easy use and configurability. Hugo takes a directory with content and templates and renders them into a full HTML website.

Hugo relies on Markdown files with front matter for meta data. And you can run Hugo from any directory. This works well for shared hosts and other systems where you don’t have a privileged account.

Hugo renders a typical website of moderate size in a fraction of a second. A good rule of thumb is that each piece of content renders in around 1 millisecond.

Hugo is designed to work well for any kind of website including blogs, tumbles and docs.

Supported Architectures

Currently, we provide pre-built Hugo binaries for Windows, Linux, FreeBSD, NetBSD and OS X (Darwin) for x64, i386 and ARM architectures.

Hugo may also be compiled from source wherever the Go compiler tool chain can run, e.g. for other operating systems including DragonFly BSD, OpenBSD, Plan 9 and Solaris.

Complete documentation is available at Hugo Documentation.

Installation Instructions

Complete Installation Guide

Hugo is written in Go with support for multiple platforms.

The latest release can be found at Hugo Releases. We currently provide pre-built binaries for Windows, Linux, FreeBSD and OS X (Darwin) for x64, i386 and ARM architectures.

Hugo may also be compiled from source wherever the Go compiler tool chain can run, e.g. for other operating systems including DragonFly BSD, OpenBSD, Plan 9 and Solaris. See http://golang.org/doc/install/source for the full set of supported combinations of target operating systems and compilation architectures.

Installing Hugo (binary)

Installation is very easy. Simply download the appropriate version for your platform from Hugo Releases. Once downloaded it can be run from anywhere. You don't need to install it into a global location. This works well for shared hosts and other systems where you don't have a privileged account.

Ideally, you should install it somewhere in your PATH for easy use. /usr/local/bin is the most probable location.

On OS X, if you have Homebrew, installation is even easier: just run brew update && brew install hugo.

For a more detailed explanation follow the corresponding installation guides:

  • [Installation on OS X]({{< relref "tutorials/installing-on-mac.md" >}})
  • [Installation on Windows]({{< relref "tutorials/installing-on-windows.md" >}})

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Epel for CentOS 6 x86_64 (0)* Epel 6 (4 downloads)
Epel for CentOS 7 x86_64 (0)* Epel 7 (4 downloads)
Fedora 24 x86_64 (0)* Fedora 24 (5 downloads)
Fedora 26 x86_64 (0)* Fedora 26 (0 downloads)

* Total number of packages downloaded in the last seven days.