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
45 lines
1.1 KiB
Markdown
45 lines
1.1 KiB
Markdown
---
|
|
date: 2018-01-31T11:40:21+01: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)
|
|
--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
|