mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -19,7 +19,8 @@ started.
|
|||||||
|
|
||||||
Want to get a site built quickly?
|
Want to get a site built quickly?
|
||||||
|
|
||||||
$ hugo new site /path/to/site
|
{{< nohighlight >}}$ hugo new site <i>path/to/site</i>
|
||||||
|
{{< /nohighlight >}}
|
||||||
|
|
||||||
Hugo will create all the needed directories and files to get started
|
Hugo will create all the needed directories and files to get started
|
||||||
quickly.
|
quickly.
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
lastmod: 2015-11-29
|
lastmod: 2016-01-09
|
||||||
date: 2013-07-01
|
date: 2013-07-01
|
||||||
linktitle: Quickstart
|
linktitle: Quickstart
|
||||||
menu:
|
menu:
|
||||||
@@ -28,20 +28,23 @@ More complete instructions are available at [Installing Hugo](/overview/installi
|
|||||||
|
|
||||||
Hugo has the ability to create a skeleton site:
|
Hugo has the ability to create a skeleton site:
|
||||||
|
|
||||||
$ hugo new site /path/to/site
|
{{< nohighlight >}}$ hugo new site <i>path/to/site</i>
|
||||||
|
{{< /nohighlight >}}
|
||||||
|
|
||||||
For the rest of the operations, we will be executing all commands from within the site directory.
|
For the rest of the operations, we will be executing all commands from within the site directory.
|
||||||
|
|
||||||
$ cd /path/to/site
|
{{< nohighlight >}}$ cd <i>path/to/site</i>
|
||||||
|
{{< /nohighlight >}}
|
||||||
|
|
||||||
The new site will have the following structure
|
The new site will have the following structure
|
||||||
|
|
||||||
▸ archetypes/
|
{{< nohighlight >}} ▸ archetypes/
|
||||||
▸ content/
|
▸ content/
|
||||||
▸ data/
|
▸ data/
|
||||||
▸ layouts/
|
▸ layouts/
|
||||||
▸ static/
|
▸ static/
|
||||||
config.toml
|
config.toml
|
||||||
|
{{< /nohighlight >}}
|
||||||
|
|
||||||
Currently the site doesn’t have any content, nor is it configured.
|
Currently the site doesn’t have any content, nor is it configured.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user