mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	Merge commit 'dd78d5b23fe597f4461aa4199401b4e07c0612e2' as 'docs'
This commit is contained in:
		
							
								
								
									
										80
									
								
								docs/content/commands/hugo.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								docs/content/commands/hugo.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,80 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo"
 | 
			
		||||
slug: hugo
 | 
			
		||||
url: /commands/hugo/
 | 
			
		||||
---
 | 
			
		||||
## hugo
 | 
			
		||||
 | 
			
		||||
hugo builds your site
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
hugo is the main command, used to build your Hugo site.
 | 
			
		||||
 | 
			
		||||
Hugo is a Fast and Flexible Static Site Generator
 | 
			
		||||
built with love by spf13 and friends in Go.
 | 
			
		||||
 | 
			
		||||
Complete documentation is available at http://gohugo.io/.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -b, --baseURL string             hostname (and path) to the root, e.g. http://spf13.com/
 | 
			
		||||
  -D, --buildDrafts                include content marked as draft
 | 
			
		||||
  -E, --buildExpired               include expired content
 | 
			
		||||
  -F, --buildFuture                include content with publishdate in the future
 | 
			
		||||
      --cacheDir string            filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
 | 
			
		||||
      --canonifyURLs               if true, all relative URLs will be canonicalized using baseURL
 | 
			
		||||
      --cleanDestinationDir        remove files from destination not found in static directories
 | 
			
		||||
      --config string              config file (default is path/config.yaml|json|toml)
 | 
			
		||||
  -c, --contentDir string          filesystem path to content directory
 | 
			
		||||
  -d, --destination string         filesystem path to write files to
 | 
			
		||||
      --disable404                 do not render 404 page
 | 
			
		||||
      --disableKinds stringSlice   disable different kind of pages (home, RSS etc.)
 | 
			
		||||
      --disableRSS                 do not build RSS files
 | 
			
		||||
      --disableSitemap             do not build Sitemap file
 | 
			
		||||
      --enableGitInfo              add Git revision, date and author info to the pages
 | 
			
		||||
      --forceSyncStatic            copy all files when static is changed.
 | 
			
		||||
  -h, --help                       help for hugo
 | 
			
		||||
      --i18n-warnings              print missing translations
 | 
			
		||||
      --ignoreCache                ignores the cache directory
 | 
			
		||||
  -l, --layoutDir string           filesystem path to layout directory
 | 
			
		||||
      --log                        enable Logging
 | 
			
		||||
      --logFile string             log File path (if set, logging enabled automatically)
 | 
			
		||||
      --noChmod                    don't sync permission mode of files
 | 
			
		||||
      --noTimes                    don't sync modification time of files
 | 
			
		||||
      --pluralizeListTitles        pluralize titles in lists using inflect (default true)
 | 
			
		||||
      --preserveTaxonomyNames      preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
 | 
			
		||||
      --quiet                      build in quiet mode
 | 
			
		||||
      --renderToMemory             render to memory (only useful for benchmark testing)
 | 
			
		||||
  -s, --source string              filesystem path to read files relative from
 | 
			
		||||
      --stepAnalysis               display memory and timing of different steps of the program
 | 
			
		||||
  -t, --theme string               theme to use (located in /themes/THEMENAME/)
 | 
			
		||||
      --themesDir string           filesystem path to themes directory
 | 
			
		||||
      --uglyURLs                   if true, use /filename.html instead of /filename/
 | 
			
		||||
  -v, --verbose                    verbose output
 | 
			
		||||
      --verboseLog                 verbose logging
 | 
			
		||||
  -w, --watch                      watch filesystem for changes and recreate as needed
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo benchmark](/commands/hugo_benchmark/)	 - Benchmark Hugo by building a site a number of times.
 | 
			
		||||
* [hugo check](/commands/hugo_check/)	 - Contains some verification checks
 | 
			
		||||
* [hugo config](/commands/hugo_config/)	 - Print the site configuration
 | 
			
		||||
* [hugo convert](/commands/hugo_convert/)	 - Convert your content to different formats
 | 
			
		||||
* [hugo env](/commands/hugo_env/)	 - Print Hugo version and environment info
 | 
			
		||||
* [hugo gen](/commands/hugo_gen/)	 - A collection of several useful generators.
 | 
			
		||||
* [hugo import](/commands/hugo_import/)	 - Import your site from others.
 | 
			
		||||
* [hugo list](/commands/hugo_list/)	 - Listing out various types of content
 | 
			
		||||
* [hugo new](/commands/hugo_new/)	 - Create new content for your site
 | 
			
		||||
* [hugo server](/commands/hugo_server/)	 - A high performance webserver
 | 
			
		||||
* [hugo undraft](/commands/hugo_undraft/)	 - Undraft changes the content's draft status from 'True' to 'False'
 | 
			
		||||
* [hugo version](/commands/hugo_version/)	 - Print the version number of Hugo
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										72
									
								
								docs/content/commands/hugo_benchmark.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										72
									
								
								docs/content/commands/hugo_benchmark.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,72 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo benchmark"
 | 
			
		||||
slug: hugo_benchmark
 | 
			
		||||
url: /commands/hugo_benchmark/
 | 
			
		||||
---
 | 
			
		||||
## hugo benchmark
 | 
			
		||||
 | 
			
		||||
Benchmark Hugo by building a site a number of times.
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Hugo can build a site many times over and analyze the running process
 | 
			
		||||
creating a benchmark.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo benchmark [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -b, --baseURL string             hostname (and path) to the root, e.g. http://spf13.com/
 | 
			
		||||
  -D, --buildDrafts                include content marked as draft
 | 
			
		||||
  -E, --buildExpired               include expired content
 | 
			
		||||
  -F, --buildFuture                include content with publishdate in the future
 | 
			
		||||
      --cacheDir string            filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
 | 
			
		||||
      --canonifyURLs               if true, all relative URLs will be canonicalized using baseURL
 | 
			
		||||
      --cleanDestinationDir        remove files from destination not found in static directories
 | 
			
		||||
  -c, --contentDir string          filesystem path to content directory
 | 
			
		||||
  -n, --count int                  number of times to build the site (default 13)
 | 
			
		||||
      --cpuprofile string          path/filename for the CPU profile file
 | 
			
		||||
  -d, --destination string         filesystem path to write files to
 | 
			
		||||
      --disable404                 do not render 404 page
 | 
			
		||||
      --disableKinds stringSlice   disable different kind of pages (home, RSS etc.)
 | 
			
		||||
      --disableRSS                 do not build RSS files
 | 
			
		||||
      --disableSitemap             do not build Sitemap file
 | 
			
		||||
      --enableGitInfo              add Git revision, date and author info to the pages
 | 
			
		||||
      --forceSyncStatic            copy all files when static is changed.
 | 
			
		||||
  -h, --help                       help for benchmark
 | 
			
		||||
      --i18n-warnings              print missing translations
 | 
			
		||||
      --ignoreCache                ignores the cache directory
 | 
			
		||||
  -l, --layoutDir string           filesystem path to layout directory
 | 
			
		||||
      --memprofile string          path/filename for the memory profile file
 | 
			
		||||
      --noChmod                    don't sync permission mode of files
 | 
			
		||||
      --noTimes                    don't sync modification time of files
 | 
			
		||||
      --pluralizeListTitles        pluralize titles in lists using inflect (default true)
 | 
			
		||||
      --preserveTaxonomyNames      preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
 | 
			
		||||
      --renderToMemory             render to memory (only useful for benchmark testing)
 | 
			
		||||
  -s, --source string              filesystem path to read files relative from
 | 
			
		||||
      --stepAnalysis               display memory and timing of different steps of the program
 | 
			
		||||
  -t, --theme string               theme to use (located in /themes/THEMENAME/)
 | 
			
		||||
      --themesDir string           filesystem path to themes directory
 | 
			
		||||
      --uglyURLs                   if true, use /filename.html instead of /filename/
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										37
									
								
								docs/content/commands/hugo_check.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								docs/content/commands/hugo_check.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,37 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo check"
 | 
			
		||||
slug: hugo_check
 | 
			
		||||
url: /commands/hugo_check/
 | 
			
		||||
---
 | 
			
		||||
## hugo check
 | 
			
		||||
 | 
			
		||||
Contains some verification checks
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Contains some verification checks
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for check
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
* [hugo check ulimit](/commands/hugo_check_ulimit/)	 - Check system ulimit settings
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										41
									
								
								docs/content/commands/hugo_check_ulimit.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								docs/content/commands/hugo_check_ulimit.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,41 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo check ulimit"
 | 
			
		||||
slug: hugo_check_ulimit
 | 
			
		||||
url: /commands/hugo_check_ulimit/
 | 
			
		||||
---
 | 
			
		||||
## hugo check ulimit
 | 
			
		||||
 | 
			
		||||
Check system ulimit settings
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Hugo will inspect the current ulimit settings on the system.
 | 
			
		||||
This is primarily to ensure that Hugo can watch enough files on some OSs
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo check ulimit [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for ulimit
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo check](/commands/hugo_check/)	 - Contains some verification checks
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										40
									
								
								docs/content/commands/hugo_config.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								docs/content/commands/hugo_config.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,40 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo config"
 | 
			
		||||
slug: hugo_config
 | 
			
		||||
url: /commands/hugo_config/
 | 
			
		||||
---
 | 
			
		||||
## hugo config
 | 
			
		||||
 | 
			
		||||
Print the site configuration
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Print the site configuration, both default and custom settings.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo config [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for config
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										44
									
								
								docs/content/commands/hugo_convert.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								docs/content/commands/hugo_convert.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo convert"
 | 
			
		||||
slug: hugo_convert
 | 
			
		||||
url: /commands/hugo_convert/
 | 
			
		||||
---
 | 
			
		||||
## hugo convert
 | 
			
		||||
 | 
			
		||||
Convert your content to different formats
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Convert your content (e.g. front matter) to different formats.
 | 
			
		||||
 | 
			
		||||
See convert's subcommands toJSON, toTOML and toYAML for more information.
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help            help for convert
 | 
			
		||||
  -o, --output string   filesystem path to write files to
 | 
			
		||||
  -s, --source string   filesystem path to read files relative from
 | 
			
		||||
      --unsafe          enable less safe operations, please backup first
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
* [hugo convert toJSON](/commands/hugo_convert_tojson/)	 - Convert front matter to JSON
 | 
			
		||||
* [hugo convert toTOML](/commands/hugo_convert_totoml/)	 - Convert front matter to TOML
 | 
			
		||||
* [hugo convert toYAML](/commands/hugo_convert_toyaml/)	 - Convert front matter to YAML
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										44
									
								
								docs/content/commands/hugo_convert_toJSON.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								docs/content/commands/hugo_convert_toJSON.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo convert toJSON"
 | 
			
		||||
slug: hugo_convert_toJSON
 | 
			
		||||
url: /commands/hugo_convert_tojson/
 | 
			
		||||
---
 | 
			
		||||
## hugo convert toJSON
 | 
			
		||||
 | 
			
		||||
Convert front matter to JSON
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
toJSON converts all front matter in the content directory
 | 
			
		||||
to use JSON for the front matter.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo convert toJSON [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for toJSON
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
  -o, --output string    filesystem path to write files to
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -s, --source string    filesystem path to read files relative from
 | 
			
		||||
      --unsafe           enable less safe operations, please backup first
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo convert](/commands/hugo_convert/)	 - Convert your content to different formats
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										44
									
								
								docs/content/commands/hugo_convert_toTOML.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								docs/content/commands/hugo_convert_toTOML.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo convert toTOML"
 | 
			
		||||
slug: hugo_convert_toTOML
 | 
			
		||||
url: /commands/hugo_convert_totoml/
 | 
			
		||||
---
 | 
			
		||||
## hugo convert toTOML
 | 
			
		||||
 | 
			
		||||
Convert front matter to TOML
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
toTOML converts all front matter in the content directory
 | 
			
		||||
to use TOML for the front matter.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo convert toTOML [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for toTOML
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
  -o, --output string    filesystem path to write files to
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -s, --source string    filesystem path to read files relative from
 | 
			
		||||
      --unsafe           enable less safe operations, please backup first
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo convert](/commands/hugo_convert/)	 - Convert your content to different formats
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										44
									
								
								docs/content/commands/hugo_convert_toYAML.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								docs/content/commands/hugo_convert_toYAML.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo convert toYAML"
 | 
			
		||||
slug: hugo_convert_toYAML
 | 
			
		||||
url: /commands/hugo_convert_toyaml/
 | 
			
		||||
---
 | 
			
		||||
## hugo convert toYAML
 | 
			
		||||
 | 
			
		||||
Convert front matter to YAML
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
toYAML converts all front matter in the content directory
 | 
			
		||||
to use YAML for the front matter.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo convert toYAML [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for toYAML
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
  -o, --output string    filesystem path to write files to
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -s, --source string    filesystem path to read files relative from
 | 
			
		||||
      --unsafe           enable less safe operations, please backup first
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo convert](/commands/hugo_convert/)	 - Convert your content to different formats
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										40
									
								
								docs/content/commands/hugo_env.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								docs/content/commands/hugo_env.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,40 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo env"
 | 
			
		||||
slug: hugo_env
 | 
			
		||||
url: /commands/hugo_env/
 | 
			
		||||
---
 | 
			
		||||
## hugo env
 | 
			
		||||
 | 
			
		||||
Print Hugo version and environment info
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Print Hugo version and environment info. This is useful in Hugo bug reports.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo env [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for env
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										39
									
								
								docs/content/commands/hugo_gen.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								docs/content/commands/hugo_gen.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo gen"
 | 
			
		||||
slug: hugo_gen
 | 
			
		||||
url: /commands/hugo_gen/
 | 
			
		||||
---
 | 
			
		||||
## hugo gen
 | 
			
		||||
 | 
			
		||||
A collection of several useful generators.
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
A collection of several useful generators.
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for gen
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
* [hugo gen autocomplete](/commands/hugo_gen_autocomplete/)	 - Generate shell autocompletion script for Hugo
 | 
			
		||||
* [hugo gen doc](/commands/hugo_gen_doc/)	 - Generate Markdown documentation for the Hugo CLI.
 | 
			
		||||
* [hugo gen man](/commands/hugo_gen_man/)	 - Generate man pages for the Hugo CLI
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										58
									
								
								docs/content/commands/hugo_gen_autocomplete.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								docs/content/commands/hugo_gen_autocomplete.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,58 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo gen autocomplete"
 | 
			
		||||
slug: hugo_gen_autocomplete
 | 
			
		||||
url: /commands/hugo_gen_autocomplete/
 | 
			
		||||
---
 | 
			
		||||
## hugo gen autocomplete
 | 
			
		||||
 | 
			
		||||
Generate shell autocompletion script for Hugo
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Generates a shell autocompletion script for Hugo.
 | 
			
		||||
 | 
			
		||||
NOTE: The current version supports Bash only.
 | 
			
		||||
      This should work for *nix systems with Bash installed.
 | 
			
		||||
 | 
			
		||||
By default, the file is written directly to /etc/bash_completion.d
 | 
			
		||||
for convenience, and the command may need superuser rights, e.g.:
 | 
			
		||||
 | 
			
		||||
	$ sudo hugo gen autocomplete
 | 
			
		||||
 | 
			
		||||
Add `--completionfile=/path/to/file` flag to set alternative
 | 
			
		||||
file-path and name.
 | 
			
		||||
 | 
			
		||||
Logout and in again to reload the completion scripts,
 | 
			
		||||
or just source them in directly:
 | 
			
		||||
 | 
			
		||||
	$ . /etc/bash_completion
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo gen autocomplete [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --completionfile string   autocompletion file (default "/etc/bash_completion.d/hugo.sh")
 | 
			
		||||
  -h, --help                    help for autocomplete
 | 
			
		||||
      --type string             autocompletion type (currently only bash supported) (default "bash")
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo gen](/commands/hugo_gen/)	 - A collection of several useful generators.
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										47
									
								
								docs/content/commands/hugo_gen_doc.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								docs/content/commands/hugo_gen_doc.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo gen doc"
 | 
			
		||||
slug: hugo_gen_doc
 | 
			
		||||
url: /commands/hugo_gen_doc/
 | 
			
		||||
---
 | 
			
		||||
## hugo gen doc
 | 
			
		||||
 | 
			
		||||
Generate Markdown documentation for the Hugo CLI.
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Generate Markdown documentation for the Hugo CLI.
 | 
			
		||||
 | 
			
		||||
This command is, mostly, used to create up-to-date documentation
 | 
			
		||||
of Hugo's command-line interface for http://gohugo.io/.
 | 
			
		||||
 | 
			
		||||
It creates one Markdown file per command with front matter suitable
 | 
			
		||||
for rendering in Hugo.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo gen doc [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --dir string   the directory to write the doc. (default "/tmp/hugodoc/")
 | 
			
		||||
  -h, --help         help for doc
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo gen](/commands/hugo_gen/)	 - A collection of several useful generators.
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										43
									
								
								docs/content/commands/hugo_gen_man.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								docs/content/commands/hugo_gen_man.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,43 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo gen man"
 | 
			
		||||
slug: hugo_gen_man
 | 
			
		||||
url: /commands/hugo_gen_man/
 | 
			
		||||
---
 | 
			
		||||
## hugo gen man
 | 
			
		||||
 | 
			
		||||
Generate man pages for the Hugo CLI
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
This command automatically generates up-to-date man pages of Hugo's
 | 
			
		||||
command-line interface.  By default, it creates the man page files
 | 
			
		||||
in the "man" directory under the current directory.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo gen man [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --dir string   the directory to write the man pages. (default "man/")
 | 
			
		||||
  -h, --help         help for man
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo gen](/commands/hugo_gen/)	 - A collection of several useful generators.
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										39
									
								
								docs/content/commands/hugo_import.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								docs/content/commands/hugo_import.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo import"
 | 
			
		||||
slug: hugo_import
 | 
			
		||||
url: /commands/hugo_import/
 | 
			
		||||
---
 | 
			
		||||
## hugo import
 | 
			
		||||
 | 
			
		||||
Import your site from others.
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Import your site from other web site generators like Jekyll.
 | 
			
		||||
 | 
			
		||||
Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_path`.
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for import
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
* [hugo import jekyll](/commands/hugo_import_jekyll/)	 - hugo import from Jekyll
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										43
									
								
								docs/content/commands/hugo_import_jekyll.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								docs/content/commands/hugo_import_jekyll.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,43 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo import jekyll"
 | 
			
		||||
slug: hugo_import_jekyll
 | 
			
		||||
url: /commands/hugo_import_jekyll/
 | 
			
		||||
---
 | 
			
		||||
## hugo import jekyll
 | 
			
		||||
 | 
			
		||||
hugo import from Jekyll
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
hugo import from Jekyll.
 | 
			
		||||
 | 
			
		||||
Import from Jekyll requires two paths, e.g. `hugo import jekyll jekyll_root_path target_path`.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo import jekyll [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --force   allow import into non-empty target directory
 | 
			
		||||
  -h, --help    help for jekyll
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo import](/commands/hugo_import/)	 - Import your site from others.
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										42
									
								
								docs/content/commands/hugo_list.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								docs/content/commands/hugo_list.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo list"
 | 
			
		||||
slug: hugo_list
 | 
			
		||||
url: /commands/hugo_list/
 | 
			
		||||
---
 | 
			
		||||
## hugo list
 | 
			
		||||
 | 
			
		||||
Listing out various types of content
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Listing out various types of content.
 | 
			
		||||
 | 
			
		||||
List requires a subcommand, e.g. `hugo list drafts`.
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help            help for list
 | 
			
		||||
  -s, --source string   filesystem path to read files relative from
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
* [hugo list drafts](/commands/hugo_list_drafts/)	 - List all drafts
 | 
			
		||||
* [hugo list expired](/commands/hugo_list_expired/)	 - List all posts already expired
 | 
			
		||||
* [hugo list future](/commands/hugo_list_future/)	 - List all posts dated in the future
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										41
									
								
								docs/content/commands/hugo_list_drafts.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								docs/content/commands/hugo_list_drafts.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,41 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo list drafts"
 | 
			
		||||
slug: hugo_list_drafts
 | 
			
		||||
url: /commands/hugo_list_drafts/
 | 
			
		||||
---
 | 
			
		||||
## hugo list drafts
 | 
			
		||||
 | 
			
		||||
List all drafts
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
List all of the drafts in your content directory.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo list drafts [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for drafts
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -s, --source string    filesystem path to read files relative from
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo list](/commands/hugo_list/)	 - Listing out various types of content
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										42
									
								
								docs/content/commands/hugo_list_expired.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								docs/content/commands/hugo_list_expired.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo list expired"
 | 
			
		||||
slug: hugo_list_expired
 | 
			
		||||
url: /commands/hugo_list_expired/
 | 
			
		||||
---
 | 
			
		||||
## hugo list expired
 | 
			
		||||
 | 
			
		||||
List all posts already expired
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
List all of the posts in your content directory which has already
 | 
			
		||||
expired.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo list expired [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for expired
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -s, --source string    filesystem path to read files relative from
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo list](/commands/hugo_list/)	 - Listing out various types of content
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										42
									
								
								docs/content/commands/hugo_list_future.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								docs/content/commands/hugo_list_future.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo list future"
 | 
			
		||||
slug: hugo_list_future
 | 
			
		||||
url: /commands/hugo_list_future/
 | 
			
		||||
---
 | 
			
		||||
## hugo list future
 | 
			
		||||
 | 
			
		||||
List all posts dated in the future
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
List all of the posts in your content directory which will be
 | 
			
		||||
posted in the future.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo list future [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for future
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -s, --source string    filesystem path to read files relative from
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo list](/commands/hugo_list/)	 - Listing out various types of content
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										50
									
								
								docs/content/commands/hugo_new.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								docs/content/commands/hugo_new.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,50 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo new"
 | 
			
		||||
slug: hugo_new
 | 
			
		||||
url: /commands/hugo_new/
 | 
			
		||||
---
 | 
			
		||||
## hugo new
 | 
			
		||||
 | 
			
		||||
Create new content for your site
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Create a new content file and automatically set the date and title.
 | 
			
		||||
It will guess which kind of file to create based on the path provided.
 | 
			
		||||
 | 
			
		||||
You can also specify the kind with `-k KIND`.
 | 
			
		||||
 | 
			
		||||
If archetypes are provided in your theme or site, they will be used.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo new [path] [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --editor string   edit new content with this editor, if provided
 | 
			
		||||
  -h, --help            help for new
 | 
			
		||||
  -k, --kind string     content type to create
 | 
			
		||||
  -s, --source string   filesystem path to read files relative from
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
* [hugo new site](/commands/hugo_new_site/)	 - Create a new site (skeleton)
 | 
			
		||||
* [hugo new theme](/commands/hugo_new_theme/)	 - Create a new theme
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										45
									
								
								docs/content/commands/hugo_new_site.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								docs/content/commands/hugo_new_site.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo new site"
 | 
			
		||||
slug: hugo_new_site
 | 
			
		||||
url: /commands/hugo_new_site/
 | 
			
		||||
---
 | 
			
		||||
## hugo new site
 | 
			
		||||
 | 
			
		||||
Create a new site (skeleton)
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Create a new site in the provided directory.
 | 
			
		||||
The new site will have the correct structure, but no content or theme yet.
 | 
			
		||||
Use `hugo new [contentPath]` to create new content.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo new site [path] [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --force           init inside non-empty directory
 | 
			
		||||
  -f, --format string   config & frontmatter format (default "toml")
 | 
			
		||||
  -h, --help            help for site
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -s, --source string    filesystem path to read files relative from
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo new](/commands/hugo_new/)	 - Create new content for your site
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										44
									
								
								docs/content/commands/hugo_new_theme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								docs/content/commands/hugo_new_theme.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo new theme"
 | 
			
		||||
slug: hugo_new_theme
 | 
			
		||||
url: /commands/hugo_new_theme/
 | 
			
		||||
---
 | 
			
		||||
## hugo new theme
 | 
			
		||||
 | 
			
		||||
Create a new theme
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Create a new theme (skeleton) called [name] in the current directory.
 | 
			
		||||
New theme is a skeleton. Please add content to the touched files. Add your
 | 
			
		||||
name to the copyright line in the license and adjust the theme.toml file
 | 
			
		||||
as you see fit.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo new theme [name] [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for theme
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -s, --source string    filesystem path to read files relative from
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo new](/commands/hugo_new/)	 - Create new content for your site
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										86
									
								
								docs/content/commands/hugo_server.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										86
									
								
								docs/content/commands/hugo_server.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,86 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo server"
 | 
			
		||||
slug: hugo_server
 | 
			
		||||
url: /commands/hugo_server/
 | 
			
		||||
---
 | 
			
		||||
## hugo server
 | 
			
		||||
 | 
			
		||||
A high performance webserver
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Hugo provides its own webserver which builds and serves the site.
 | 
			
		||||
While hugo server is high performance, it is a webserver with limited options.
 | 
			
		||||
Many run it in production, but the standard behavior is for people to use it
 | 
			
		||||
in development and use a more full featured server such as Nginx or Caddy.
 | 
			
		||||
 | 
			
		||||
'hugo server' will avoid writing the rendered and served content to disk,
 | 
			
		||||
preferring to store it in memory.
 | 
			
		||||
 | 
			
		||||
By default hugo will also watch your files for any changes you make and
 | 
			
		||||
automatically rebuild the site. It will then live reload any open browser pages
 | 
			
		||||
and push the latest content to them. As most Hugo sites are built in a fraction
 | 
			
		||||
of a second, you will be able to save and see your changes nearly instantly.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo server [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --appendPort                 append port to baseURL (default true)
 | 
			
		||||
  -b, --baseURL string             hostname (and path) to the root, e.g. http://spf13.com/
 | 
			
		||||
      --bind string                interface to which the server will bind (default "127.0.0.1")
 | 
			
		||||
  -D, --buildDrafts                include content marked as draft
 | 
			
		||||
  -E, --buildExpired               include expired content
 | 
			
		||||
  -F, --buildFuture                include content with publishdate in the future
 | 
			
		||||
      --cacheDir string            filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
 | 
			
		||||
      --canonifyURLs               if true, all relative URLs will be canonicalized using baseURL
 | 
			
		||||
      --cleanDestinationDir        remove files from destination not found in static directories
 | 
			
		||||
  -c, --contentDir string          filesystem path to content directory
 | 
			
		||||
  -d, --destination string         filesystem path to write files to
 | 
			
		||||
      --disable404                 do not render 404 page
 | 
			
		||||
      --disableKinds stringSlice   disable different kind of pages (home, RSS etc.)
 | 
			
		||||
      --disableLiveReload          watch without enabling live browser reload on rebuild
 | 
			
		||||
      --disableRSS                 do not build RSS files
 | 
			
		||||
      --disableSitemap             do not build Sitemap file
 | 
			
		||||
      --enableGitInfo              add Git revision, date and author info to the pages
 | 
			
		||||
      --forceSyncStatic            copy all files when static is changed.
 | 
			
		||||
  -h, --help                       help for server
 | 
			
		||||
      --i18n-warnings              print missing translations
 | 
			
		||||
      --ignoreCache                ignores the cache directory
 | 
			
		||||
  -l, --layoutDir string           filesystem path to layout directory
 | 
			
		||||
      --meminterval string         interval to poll memory usage (requires --memstats), valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". (default "100ms")
 | 
			
		||||
      --memstats string            log memory usage to this file
 | 
			
		||||
      --noChmod                    don't sync permission mode of files
 | 
			
		||||
      --noTimes                    don't sync modification time of files
 | 
			
		||||
      --pluralizeListTitles        pluralize titles in lists using inflect (default true)
 | 
			
		||||
  -p, --port int                   port on which the server will listen (default 1313)
 | 
			
		||||
      --preserveTaxonomyNames      preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
 | 
			
		||||
      --renderToDisk               render to Destination path (default is render to memory & serve from there)
 | 
			
		||||
  -s, --source string              filesystem path to read files relative from
 | 
			
		||||
      --stepAnalysis               display memory and timing of different steps of the program
 | 
			
		||||
  -t, --theme string               theme to use (located in /themes/THEMENAME/)
 | 
			
		||||
      --themesDir string           filesystem path to themes directory
 | 
			
		||||
      --uglyURLs                   if true, use /filename.html instead of /filename/
 | 
			
		||||
  -w, --watch                      watch filesystem for changes and recreate as needed (default true)
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										42
									
								
								docs/content/commands/hugo_undraft.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								docs/content/commands/hugo_undraft.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo undraft"
 | 
			
		||||
slug: hugo_undraft
 | 
			
		||||
url: /commands/hugo_undraft/
 | 
			
		||||
---
 | 
			
		||||
## hugo undraft
 | 
			
		||||
 | 
			
		||||
Undraft changes the content's draft status from 'True' to 'False'
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Undraft changes the content's draft status from 'True' to 'False'
 | 
			
		||||
and updates the date to the current date and time.
 | 
			
		||||
If the content's draft status is 'False', nothing is done.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo undraft path/to/content [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for undraft
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
							
								
								
									
										40
									
								
								docs/content/commands/hugo_version.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								docs/content/commands/hugo_version.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,40 @@
 | 
			
		||||
---
 | 
			
		||||
date: 2017-06-22T21:51:29+02:00
 | 
			
		||||
title: "hugo version"
 | 
			
		||||
slug: hugo_version
 | 
			
		||||
url: /commands/hugo_version/
 | 
			
		||||
---
 | 
			
		||||
## hugo version
 | 
			
		||||
 | 
			
		||||
Print the version number of Hugo
 | 
			
		||||
 | 
			
		||||
### Synopsis
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
All software has versions. This is Hugo's.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
hugo version [flags]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
  -h, --help   help for version
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Options inherited from parent commands
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
      --config string    config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      --log              enable Logging
 | 
			
		||||
      --logFile string   log File path (if set, logging enabled automatically)
 | 
			
		||||
      --quiet            build in quiet mode
 | 
			
		||||
  -v, --verbose          verbose output
 | 
			
		||||
      --verboseLog       verbose logging
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### SEE ALSO
 | 
			
		||||
* [hugo](/commands/hugo/)	 - hugo builds your site
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Jun-2017
 | 
			
		||||
		Reference in New Issue
	
	Block a user