mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
082476e713
commit
dd1d655617
2 changed files with 14 additions and 10 deletions
|
@ -19,7 +19,8 @@ started.
|
|||
|
||||
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
|
||||
quickly.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
lastmod: 2015-11-29
|
||||
lastmod: 2016-01-09
|
||||
date: 2013-07-01
|
||||
linktitle: Quickstart
|
||||
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 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.
|
||||
|
||||
$ cd /path/to/site
|
||||
{{< nohighlight >}}$ cd <i>path/to/site</i>
|
||||
{{< /nohighlight >}}
|
||||
|
||||
The new site will have the following structure
|
||||
|
||||
▸ archetypes/
|
||||
▸ content/
|
||||
▸ data/
|
||||
▸ layouts/
|
||||
▸ static/
|
||||
config.toml
|
||||
{{< nohighlight >}} ▸ archetypes/
|
||||
▸ content/
|
||||
▸ data/
|
||||
▸ layouts/
|
||||
▸ static/
|
||||
config.toml
|
||||
{{< /nohighlight >}}
|
||||
|
||||
Currently the site doesn’t have any content, nor is it configured.
|
||||
|
||||
|
|
Loading…
Reference in a new issue