mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
config: Add a type value for the tags related config entry
Which doesn't have any practical difference, but it looks cleaner in the generated docs.
This commit is contained in:
parent
0de81c6430
commit
b1b6912412
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ var allDecoderSetups = map[string]decodeWeight{
|
||||||
} else {
|
} else {
|
||||||
p.c.Related = related.DefaultConfig
|
p.c.Related = related.DefaultConfig
|
||||||
if _, found := p.c.Taxonomies["tag"]; found {
|
if _, found := p.c.Taxonomies["tag"]; found {
|
||||||
p.c.Related.Add(related.IndexConfig{Name: "tags", Weight: 80})
|
p.c.Related.Add(related.IndexConfig{Name: "tags", Weight: 80, Type: related.TypeBasic})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in a new issue