1HUGO-CONVERT-TOJSON(1) Hugo Manual HUGO-CONVERT-TOJSON(1)
2
3
4
6 hugo-convert-toJSON - Convert front matter to JSON
7
8
9
11 hugo convert toJSON [flags]
12
13
14
16 toJSON converts all front matter in the content directory to use JSON
17 for the front matter.
18
19
20
22 -h, --help[=false] help for toJSON
23
24
25
27 --clock="" set the clock used by Hugo, e.g. --clock
28 2021-11-06T22:30:00.00+09:00
29
30
31 --config="" config file (default is path/config.yaml|json|toml)
32
33
34 --configDir="config" config dir
35
36
37 --debug[=false] debug output
38
39
40 -e, --environment="" build environment
41
42
43 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
44 ing the given Glob pattern
45
46
47 --log[=false] enable Logging
48
49
50 --logFile="" log File path (if set, logging enabled automatically)
51
52
53 -o, --output="" filesystem path to write files to
54
55
56 --quiet[=false] build in quiet mode
57
58
59 -s, --source="" filesystem path to read files relative from
60
61
62 --themesDir="" filesystem path to themes directory
63
64
65 --unsafe[=false] enable less safe operations, please backup first
66
67
68 -v, --verbose[=false] verbose output
69
70
71 --verboseLog[=false] verbose logging
72
73
74
76 hugo-convert(1)
77
78
79
80Hugo 0.101.0 Oct 2022 HUGO-CONVERT-TOJSON(1)