hugo_convert_toTOML.md (1565B)
1 --- 2 title: "hugo convert toTOML" 3 slug: hugo_convert_toTOML 4 url: /commands/hugo_convert_totoml/ 5 --- 6 ## hugo convert toTOML 7 8 Convert front matter to TOML 9 10 ### Synopsis 11 12 toTOML converts all front matter in the content directory 13 to use TOML for the front matter. 14 15 ``` 16 hugo convert toTOML [flags] 17 ``` 18 19 ### Options 20 21 ``` 22 -h, --help help for toTOML 23 ``` 24 25 ### Options inherited from parent commands 26 27 ``` 28 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00 29 --config string config file (default is path/config.yaml|json|toml) 30 --configDir string config dir (default "config") 31 --debug debug output 32 -e, --environment string build environment 33 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern 34 --log enable Logging 35 --logFile string log File path (if set, logging enabled automatically) 36 -o, --output string filesystem path to write files to 37 --quiet build in quiet mode 38 -s, --source string filesystem path to read files relative from 39 --themesDir string filesystem path to themes directory 40 --unsafe enable less safe operations, please backup first 41 -v, --verbose verbose output 42 --verboseLog verbose logging 43 ``` 44 45 ### SEE ALSO 46 47 * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats 48