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.3 KiB
Markdown
45 lines
1.3 KiB
Markdown
---
|
|
date: 2018-01-31T11:40:21+01: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)
|
|
--debug debug output
|
|
--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 31-Jan-2018
|