mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 23:22:11 -05:00
Update organization.md
Increases clarity on the different between `section` and `type`. The current `section` information here is wrong (sections can *not* be specified in front matter). This caused quite the headache. This change fixes this and also adds `type`, since it *can* be specified in front matter.
This commit is contained in:
parent
bfa06fff86
commit
d6f6945525
1 changed files with 4 additions and 2 deletions
|
@ -76,8 +76,10 @@ The actual path to the file on disk. Destination will create the destination
|
||||||
with the same path. Includes [section](/content/sections/).
|
with the same path. Includes [section](/content/sections/).
|
||||||
|
|
||||||
### section
|
### section
|
||||||
`section` can be provided in the front matter overriding the section derived from
|
`section` is determined by its location on disk and can *not* be specified in the front matter. See [section](/content/sections/).
|
||||||
the source content location on disk. See [section](/content/sections/).
|
|
||||||
|
### type
|
||||||
|
`type` is also determined by its location on disk but, unlike `section`, it *can* be specified in the front matter. See [type](/content/types/).
|
||||||
|
|
||||||
### path
|
### path
|
||||||
`path` can be provided in the front matter. This will replace the actual
|
`path` can be provided in the front matter. This will replace the actual
|
||||||
|
|
Loading…
Reference in a new issue