hugo_convert.md - hugo - [fork] hugo port for 9front
HTML git clone https://git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
hugo_convert.md (1748B)
---
1 ---
2 title: "hugo convert"
3 slug: hugo_convert
4 url: /commands/hugo_convert/
5 ---
6 ## hugo convert
7
8 Convert front matter to another format
9
10 ### Synopsis
11
12 Convert front matter to another format.
13
14 See convert's subcommands toJSON, toTOML and toYAML for more information.
15
16 ### Options
17
18 ```
19 -h, --help help for convert
20 -o, --output string filesystem path to write files to
21 --unsafe enable less safe operations, please backup first
22 ```
23
24 ### Options inherited from parent commands
25
26 ```
27 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
28 --config string config file (default is hugo.yaml|json|toml)
29 --configDir string config dir (default "config")
30 -d, --destination string filesystem path to write files to
31 -e, --environment string build environment
32 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
33 --logLevel string log level (debug|info|warn|error)
34 --noBuildLock don't create .hugo_build.lock file
35 --quiet build in quiet mode
36 -M, --renderToMemory render to memory (mostly useful when running the server)
37 -s, --source string filesystem path to read files relative from
38 --themesDir string filesystem path to themes directory
39 ```
40
41 ### SEE ALSO
42
43 * [hugo](/commands/hugo/) - Build your site
44 * [hugo convert toJSON](/commands/hugo_convert_tojson/) - Convert front matter to JSON
45 * [hugo convert toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML
46 * [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML
47