1HUGO-CONVERT-TOJSON(1)Nov(2019) HUGO-CONVERT-TOJSON(1)Nov(2019)
2
3
4
5Hugo 0.59.1 Hugo Manual
6
7
9 hugo-convert-toJSON - Convert front matter to JSON
10
11
12
14 hugo convert toJSON [flags]
15
16
17
19 toJSON converts all front matter in the content directory to use JSON
20 for the front matter.
21
22
23
25 -h, --help[=false] help for toJSON
26
27
28
30 --config="" config file (default is path/config.yaml|json|toml)
31
32
33 --configDir="config" config dir
34
35
36 --debug[=false] debug output
37
38
39 -e, --environment="" build environment
40
41
42 --ignoreVendor[=false] ignores any _vendor directory
43
44
45 --log[=false] enable Logging
46
47
48 --logFile="" log File path (if set, logging enabled automatically)
49
50
51 -o, --output="" filesystem path to write files to
52
53
54 --quiet[=false] build in quiet mode
55
56
57 -s, --source="" filesystem path to read files relative from
58
59
60 --themesDir="" filesystem path to themes directory
61
62
63 --unsafe[=false] enable less safe operations, please backup first
64
65
66 -v, --verbose[=false] verbose output
67
68
69 --verboseLog[=false] verbose logging
70
71
72
74 hugo-convert(1)
75
76
77
78 HUGO-CONVERT-TOJSON(1)Nov(2019)