gohugoio / hugoDocs

The source for https://gohugo.io/
Apache License 2.0
1.05k stars 1.48k forks source link

[copyedit] `Sites` method: consistently use "default content" #2585

Closed chalin closed 3 months ago

chalin commented 3 months ago

Replaces "primary" by "default content" to describe the first entry in Sites, which I feel is clearer (given that defaultContentLanguage is the actual config parameter name). This matches the terminology in the page description: "Returns ... ordered by default content language then by language weight".

jmooring commented 3 months ago

See also https://github.com/gohugoio/hugo/issues/12513.

jmooring commented 3 months ago

Thanks!