HUGO-CONFIG-MOUNTS(1)

πŸ’… HUGO-CONFIG-MOUNTS πŸ’…

okay so bestie, welcome to hugo-config-mounts, a page from the Hugo Manual β€” the big one, the Hugo manual, hi, hello 🫢. This is the part where Hugo tells you about your mounts, and we're gonna get into it.


✨ NAME ✨

hugo-config-mounts β€” print the configured file mounts πŸ’–

🌸 SYNOPSIS 🌸

hugo config mounts [flags] [args]

πŸ¦‹ DESCRIPTION πŸ¦‹

Literally what it says on the tin: print the configured file mounts. That's the whole vibe. No cap, no surprises, it just shows you the mounts you set up. ✨

πŸŽ€ OPTIONS πŸŽ€

  • -b, --baseURL="" β€” the hostname (and path) pointing at your root, like https://spf13.com/ β€” yes that's the actual example, iconic.
  • --cacheDir="" β€” filesystem path to the cache directory πŸ—‚οΈ
  • -c, --contentDir="" β€” filesystem path to the content directory, where your little content babies live
  • -h, --help[=false] β€” help for mounts, aka the "wait what does this do again" button πŸ™ˆ
  • --renderSegments=[] β€” named segments to render (these get configured over in the segments config, iykyk)
  • -t, --theme=[] β€” themes to use, and they live in /themes/THEMENAME/ β€” put the actual theme name there, not the literal word THEMENAME, ok bestie? πŸ’€

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

these ones come from the parent command, so they're not even this command's own flags, they're just... family. passing them down. generational, honestly.

  • --clock="" β€” set the clock Hugo uses, 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, and your choices are debug|info|warn|error
  • --noBuildLock[=false] β€” don't create the .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 the themes directory

🌟 SEE ALSO 🌟

  • hugo-config(1) β€” go say hi to the parent, it misses you πŸ₯Ί

and that's the whole page, bestie, you ate that πŸ“βœ¨ β€” this was Hugo 0.169.0, dated Oct 2026, and the header up top was HUGO-CONFIG-MOUNTS(1), in case you were wondering. mwah πŸ’œ

πŸ“¦ where this page comes from