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:
Bjørn Erik Pedersen 2023-08-07 18:01:46 +02:00
parent 0de81c6430
commit b1b6912412
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -240,7 +240,7 @@ var allDecoderSetups = map[string]decodeWeight{
} else {
p.c.Related = related.DefaultConfig
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