Debian Codegraph @

docs/content/en/commands/hugo_config.md

raw
1 ---
2 title: "hugo config"
3 slug: hugo_config
4 url: /commands/hugo_config/
5 ---
6 ## hugo config
7
8 Display project configuration
9
10 ### Synopsis
11
12 Display project configuration, both default and custom settings.
13
14 ```
15 hugo config [command] [flags]
16 ```
17
18 ### Options
19
20 ```
21 -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
22 --cacheDir string filesystem path to cache directory
23 -c, --contentDir string filesystem path to content directory
24 --format string preferred file format (toml, yaml or json) (default "toml")
25 -h, --help help for config
26 --lang string the language to display config for (default is the default content language)
27 --printZero include config options with zero values (e.g. false, 0, "") in the output
28 --renderSegments strings named segments to render (configured in the segments config)
29 -t, --theme strings themes to use (located in /themes/THEMENAME/)
30 ```
31
32 ### Options inherited from parent commands
33
34 ```
35 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
36 --config string config file (default is hugo.yaml|json|toml)
37 --configDir string config dir (default "config")
38 -d, --destination string filesystem path to write files to
39 -e, --environment string build environment
40 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
41 --logLevel string log level (debug|info|warn|error)
42 --noBuildLock don't create .hugo_build.lock file
43 --quiet build in quiet mode
44 -M, --renderToMemory render to memory (mostly useful when running the server)
45 -s, --source string filesystem path to read files relative from
46 --themesDir string filesystem path to themes directory
47 ```
48
49 ### SEE ALSO
50
51 * [hugo](/commands/hugo/) - Build your project
52 * [hugo config mounts](/commands/hugo_config_mounts/) - Print the configured file mounts