mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
adding better install directions
This commit is contained in:
parent
d1162555ab
commit
3ec920ac0f
3 changed files with 20 additions and 1 deletions
|
@ -28,6 +28,15 @@ is the most probable location.
|
|||
Hugo doesn't have any external dependencies, but can benefit from external
|
||||
programs.
|
||||
|
||||
## Installing from source
|
||||
|
||||
Make sure you have a recent version of go installed. Hugo requires go 1.1+.
|
||||
|
||||
git clone https://github.com/spf13/hugo
|
||||
cd hugo
|
||||
go build -o hugo main.go
|
||||
|
||||
|
||||
## Source Directory Organization
|
||||
|
||||
Hugo takes a single directory and uses it as the input for creating a complete website.
|
||||
|
|
|
@ -16,3 +16,13 @@ is the most probable location.
|
|||
|
||||
Hugo doesn't have any external dependencies, but can benefit from external
|
||||
programs.
|
||||
|
||||
|
||||
## Installing from source
|
||||
|
||||
Make sure you have a recent version of go installed. Hugo requires go 1.1+.
|
||||
|
||||
git clone https://github.com/spf13/hugo
|
||||
cd hugo
|
||||
go build -o hugo main.go
|
||||
|
||||
|
|
|
@ -51,4 +51,4 @@ This directory structure tells us a lot about this site:
|
|||
2. It will also apply two different indexes to that content, categories and tags.
|
||||
3. It will be displaying content in 3 different views, a list, a summary and a full page view.
|
||||
|
||||
Included with the repository is an this example site ready to be rendered.
|
||||
Included with the repository is this example site ready to be rendered.
|
||||
|
|
Loading…
Reference in a new issue