mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
adding better install directions
This commit is contained in:
@@ -28,6 +28,15 @@ is the most probable location.
|
|||||||
Hugo doesn't have any external dependencies, but can benefit from external
|
Hugo doesn't have any external dependencies, but can benefit from external
|
||||||
programs.
|
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
|
## Source Directory Organization
|
||||||
|
|
||||||
Hugo takes a single directory and uses it as the input for creating a complete website.
|
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
|
Hugo doesn't have any external dependencies, but can benefit from external
|
||||||
programs.
|
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.
|
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.
|
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.
|
||||||
|
Reference in New Issue
Block a user