mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	@@ -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.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user