docsy
docsy copied to clipboard
How to use taxonomies with multiple words?
I have two custom taxonomies that are both made of two words. It is not clear how to configure these multi word taxonomies.
If I use lower_snake_case object_types
then it works fine, but if I use lowerCamelCase schemaActions
(which is more consistent with the rest of the configuration and front matter) it doesn't show the cloud for "Schema Actions" (see screen shots below). Is this my mistake or a bug?
My config is
[taxonomies]
tag = "tags"
object_type = "object_types"
schemaAction = "schemaActions"
[params.taxonomy]
taxonomyCloud = ["tags", "object_types", "schemaActions"]
taxonomyCloudTitle = ["Tag Cloud", "Object Types", "Schema Actions"]
taxonomyPageHeader = ["tags", "object_types", "schemaActions"]
Front matter is
---
schemaActions:
- xyz
object_types:
- def
title: "Glossary"
linkTitle: "Glossary"
weight: 80
date: 2022-02-16
tags:
- xxx
- yyy
- zzz
description: >
Glossary of common words and terms used in Stroom.
---
If I change schemaActions?
to schema_actions?
the cloud is shown:
If I have it correctly in mind, such parameters should be only lower case. Or er least, there were some issues with capital letters in the past (eg https://discourse.gohugo.io/t/config-params-should-be-all-lowercase-or-not/5051)
Hi, is this issue still open? I want to work on this issue; please assign me to this.
Hi @H20220009 we don't assign issues in this project. If you would like to contribute please check out our Contributing Guidelines.
Hi, Can you please elaborate on this issue and which directory needs help? Also, is there any documentation required?