diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-08-07 18:01:46 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-08-07 18:01:46 +0200 |
commit | b1b69124122e50d15ba1e4b4c2cc3e13fd55e1f8 (patch) | |
tree | f766dda4f44b3972b756db86dce6cdfcd8cb7207 /config | |
parent | 0de81c643031ace157c5d34d69c079b6f1e657e6 (diff) | |
download | hugo-b1b69124122e50d15ba1e4b4c2cc3e13fd55e1f8.tar.gz hugo-b1b69124122e50d15ba1e4b4c2cc3e13fd55e1f8.zip |
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.
Diffstat (limited to 'config')
-rw-r--r-- | config/allconfig/alldecoders.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/allconfig/alldecoders.go b/config/allconfig/alldecoders.go index 24f9b9677..dc58882f3 100644 --- a/config/allconfig/alldecoders.go +++ b/config/allconfig/alldecoders.go @@ -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 |