mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
8b73644d81
0f2bf195e Adjust shortcodes for 0.55 48c577121 Fix deprecation warnings ed95a341a Update index.md e4bc8981f Release 0.55.0 25acacb91 Merge branch 'temp55' b240e321a releaser: Add release notes to /docs for release of 0.55.0 86a190c92 docs: Add information about summary front matter variable 9d94f4340 integrity: Add support for sha384 dd3fe9f92 Add HUGO_NUMWORKERMULTIPLIER 968372d86 Add trace.out to .gitignore 660772713 Add the Fireship images to cache 41a3e19cb hugolib: Allow page-relative aliases 4497e4b12 Update faq.md b0ee3dccc output: Add missing JSON tag 173dac0b7 docs: Regenerate docshelper data e30473062 docs: Regenerate CLI docs 8cb775be2 Merge commit 'c2037f0c9a3a35b9db9c404f6b5f94ec8b690a53' 5bc64bf44 Make Page an interface 371ff6c12 Add skipHTML option to blackfriday config git-subtree-dir: docs git-subtree-split: 0f2bf195ef549013cc843199fb50317b0d1a5e85
46 lines
1.2 KiB
Markdown
46 lines
1.2 KiB
Markdown
---
|
|
date: 2019-03-26
|
|
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)
|
|
--configDir string config dir (default "config")
|
|
--debug debug output
|
|
--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 26-Mar-2019
|