mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
Some minor edits of the getting started section
This commit is contained in:
1 parent
43c935a83d
commit
61203de8cb
3 files changed
+10
-8
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: Configuring Hugo
|
title: Configuring Hugo
|
||||||
linktitle: Configuration
|
linktitle: Configuration
|
||||||
description: Hugo's defaults are often enough that no configuration is needed. However, a site config file can provide highly granular control over how your site is rendered.
|
description: Often the default settings are good enough, but the config file can provide highly granular control over how your site is rendered.
|
||||||
date: 2013-07-01
|
date: 2013-07-01
|
||||||
publishdate: 2017-01-02
|
publishdate: 2017-01-02
|
||||||
lastmod: 2017-03-05
|
lastmod: 2017-03-05
|
||||||
@@ -18,9 +18,9 @@ aliases: [/overview/source-directory/,/overview/configuration/]
|
|||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
The [directory structure][] of a Hugo website—or more precisely, the source organization of files containing the website's content and templates—provides most of the configuration information that Hugo needs in order to statically generate a finished website.
|
The [directory structure][] of a Hugo website—or more precisely, the source organization of files containing the website's content and templates—provides most of the configuration information that Hugo needs in order to generate a finished website.
|
||||||
|
|
||||||
Because of Hugo's preference for sane defaults, many websites may not need a configuration file. Hugo is designed to recognize certain typical usage patterns (and even expects them by default).
|
Because of Hugo's sensible defaults, many websites may not need a configuration file. Hugo is designed to recognize certain typical usage patterns.
|
||||||
|
|
||||||
## Configuration Lookup Order
|
## Configuration Lookup Order
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: Directory Structure
|
title: Directory Structure
|
||||||
linktitle: Directory Structure
|
linktitle: Directory Structure
|
||||||
description: Hugo's CLI scaffolds a project directory structure and then takes that single directory and uses it as the input for creating a complete website.
|
description: Hugo's CLI scaffolds a project directory structure and then takes that single directory and uses it as the input to create a complete website.
|
||||||
date: 2017-01-02
|
date: 2017-01-02
|
||||||
publishdate: 2017-02-01
|
publishdate: 2017-02-01
|
||||||
lastmod: 2017-03-09
|
lastmod: 2017-03-09
|
||||||
@@ -18,9 +18,6 @@ aliases: [/overview/source-directory/]
|
|||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
Hugo takes a single directory and uses it as the input for creating a complete
|
|
||||||
website.
|
|
||||||
|
|
||||||
## New Site Scaffolding
|
## New Site Scaffolding
|
||||||
|
|
||||||
Running the `hugo new site` generator from the command line will create a directory structure with the following elements:
|
Running the `hugo new site` generator from the command line will create a directory structure with the following elements:
|
||||||
|
|||||||
@@ -19,7 +19,12 @@ aliases: [/tutorials/installing-on-windows/,/tutorials/installing-on-mac/,/overv
|
|||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
Hugo is written in [Golang](https://golang.org/) with support for multiple platforms. The latest release can be found at [Hugo Releases][releases].
|
|
||||||
|
{{% note %}}
|
||||||
|
There is lots of talk about "Hugo being written in Go", but you don't need to install Go to enjoy Hugo. Just grab a precompiled binary!
|
||||||
|
{{% /note %}}
|
||||||
|
|
||||||
|
Hugo is written in [Go](https://golang.org/) with support for multiple platforms. The latest release can be found at [Hugo Releases][releases].
|
||||||
|
|
||||||
Hugo currently provides pre-built binaries for the following:
|
Hugo currently provides pre-built binaries for the following:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user