mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
c305e44f5f
2fc775dec Fix allLanguages code dc6bfbedb Fix header level 6d652458c Fixed typo in docs. 2da6518be Fix broken build in previous commit eabe7a40b Move some release notes to bundles to test the resource setup 34f2a41f2 Add featured image to news articles bba1104b8 Update index.md 62bb8d826 Bundless > bundles afea67773 Release notes spelling f66d13af2 Release Hugo 0.35 613c50cdd releaser: Add release notes to /docs for release of 0.35 c9f7fd637 releaser: Bump versions for release of 0.35 360296c34 docs: Regenerate CLI docs 0d688633f Merge commit '337d0c5f516ee085205e8abefdb7f87e6d33ca05' 8fc9e325b command: Remove undraft command f8cc6d51f docs: Re-generate CLI docs 556ea887a releaser: Prepare repository for 0.35-DEV git-subtree-dir: docs git-subtree-split: 2fc775dece2c5a76aaa3855b6dd054fd74c8738d
46 lines
1.2 KiB
Markdown
46 lines
1.2 KiB
Markdown
---
|
|
date: 2018-01-31T11:40:21+01: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)
|
|
--debug debug output
|
|
--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 31-Jan-2018
|