mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 14:17:43 +00:00
Clarify config directory structure
This commit is contained in:
1 parent
15a2eaab5e
commit
540c59ce7d
1 file changed
+13
-13
@@ -50,19 +50,19 @@ In addition to using a single site config file, one can use the `configDir` dire
|
||||
|
||||
|
||||
```
|
||||
config
|
||||
├── _default
|
||||
│ ├── config.toml
|
||||
│ ├── languages.toml
|
||||
│ ├── menus.en.toml
|
||||
│ ├── menus.zh.toml
|
||||
│ └── params.toml
|
||||
├── staging
|
||||
│ ├── config.toml
|
||||
│ └── params.toml
|
||||
└── production
|
||||
├── config.toml
|
||||
└── params.toml
|
||||
├── config
|
||||
│ ├── _default
|
||||
│ │ ├── config.toml
|
||||
│ │ ├── languages.toml
|
||||
│ │ ├── menus.en.toml
|
||||
│ │ ├── menus.zh.toml
|
||||
│ │ └── params.toml
|
||||
│ ├── production
|
||||
│ │ ├── config.toml
|
||||
│ │ └── params.toml
|
||||
│ └── staging
|
||||
│ ├── config.toml
|
||||
│ └── params.toml
|
||||
```
|
||||
|
||||
Considering the structure above, when running `hugo --environment staging`, Hugo will use every settings from `config/_default` and merge `staging`'s on top of those.
|
||||
|
||||
Reference in new issue
Block a user