HUGO-CONFIG(1)

πŸ’– HUGO-CONFIG(1) β€” Hugo Manual page, bestie πŸ’–

okay so welcome to the Hugo Manual entry for hugo-config β€” yes, the config-display command, and it’s lowkey iconic πŸ’…. We’re keeping every flag, every default, every inherited option, and every SEE ALSO ref, so you can pop off with the exact facts. No cap.


πŸŽ€ NAME πŸŽ€

hugo-config β€” display project configuration 🫢


✨ SYNOPSIS ✨

hugo config [command] [flags]

🌸 DESCRIPTION 🌸

Display project configuration β€” both your default settings and your custom settings. That’s the whole vibe ✨. It’s giving β€œshow me what’s actually configured,” fr fr.


πŸ‘‘ OPTIONS πŸ‘‘

  • -b, --baseURL="" β€” hostname (and path) to the root, e.g. https://spf13.com/
  • --cacheDir="" β€” filesystem path to cache directory
  • -c, --contentDir="" β€” filesystem path to content directory
  • --format="toml" β€” preferred file format (toml, yaml or json)
  • -h, --help[=false] β€” help for config
  • --lang="" β€” the language to display config for (default is the default content language)
  • --printZero[=false] β€” include config options with zero values (e.g. false, 0, "") in the output
  • --renderSegments=[] β€” named segments to render (configured in the segments config)
  • -t, --theme=[] β€” themes to use (located in /themes/THEMENAME/)

πŸ¦‹ OPTIONS INHERITED FROM PARENT COMMANDS πŸ¦‹

  • --clock="" β€” set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
  • --config="" β€” config file (default is hugo.yaml|json|toml)
  • --configDir="config" β€” config dir
  • -d, --destination="" β€” filesystem path to write files to
  • -e, --environment="" β€” build environment
  • --ignoreVendorPaths="" β€” ignores any _vendor for module paths matching the given Glob pattern
  • --logLevel="" β€” log level (debug|info|warn|error)
  • --noBuildLock[=false] β€” don't create .hugo_build.lock file
  • --quiet[=false] β€” build in quiet mode
  • -M, --renderToMemory[=false] β€” render to memory (mostly useful when running the server)
  • -s, --source="" β€” filesystem path to read files relative from
  • --themesDir="" β€” filesystem path to themes directory

🌈 SEE ALSO 🌈


mwah πŸ’‹ this page is from Hugo 0.169.0, dated Oct 2026 β€” bye bestie, go display that config! 🫢✨

πŸ“¦ where this page comes from