Skip to content

Commit b1b6912

Browse files
committed
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.
1 parent 0de81c6 commit b1b6912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/allconfig/alldecoders.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ var allDecoderSetups = map[string]decodeWeight{
240240
} else {
241241
p.c.Related = related.DefaultConfig
242242
if _, found := p.c.Taxonomies["tag"]; found {
243-
p.c.Related.Add(related.IndexConfig{Name: "tags", Weight: 80})
243+
p.c.Related.Add(related.IndexConfig{Name: "tags", Weight: 80, Type: related.TypeBasic})
244244
}
245245
}
246246
return nil

0 commit comments

Comments
 (0)