DoplrTitle
Behavioral analytics that …
Website | Forum | Chat | Documentation | Installation Guide | Twitter
Overview
Hugo is a static site 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.
Supported Architectures
Currently, we provide pre-built Hugo binaries for Windows, Linux, FreeBSD, NetBSD and OS X (Darwin) for x64, i386 and ARM architectures.
Complete documentation is available at Hugo Documentation.
Second Header
If you want to use Hugo as your site generator, simply install the Hugo binaries. The Hugo binaries have no external dependencies.
To contribute to the Hugo source code or documentation, you should fork the Hugo GitHub project and clone it to your local machine.
Clone the Hugo Project (Contributor)
Make sure your local environment has the following software installed:
- Git
- Mercurial
- Go 1.3+ (Go 1.4+ on Windows, see Go Issue #8090)
Fork the Hugo project on GitHub.
Clone your fork:
git clone https://github.com/YOURNAME/hugo
Build and Install the Binaries from Source (Advanced Install)
Add Hugo and its package dependencies to your go src
directory.
go get -v github.com/spf13/hugo
Once the get
completes, you should find your new hugo
(or hugo.exe
) executable sitting inside $GOPATH/bin/
.
To update Hugo’s dependencies, use go get
with the -u
option.
go get -u -v github.com/spf13/hugo
Running Hugo
cd /path/to/hugo
go install github.com/spf13/hugo/hugolib
go run main.go
Complete documentation is available at Hugo Documentation.