dsrkafuu / hugo-theme-fuji

A minimal Hugo theme with nice theme color. | 一个主题色极简 Hugo 主题。
https://github.dsrkafuu.net/hugo-theme-fuji/
Apache License 2.0
366 stars 97 forks source link

[Documentation] disableKinds taxonomy #49

Closed FelixBenning closed 2 years ago

FelixBenning commented 3 years ago
disableKinds = ["taxonomy"]
ignoreErrors = ["error-disable-taxonomy"]

this does not seem to do anything (I tried commenting it out and the tags still seem to work). What is the purpose of this?

dsrkafuu commented 3 years ago

This is a legacy configuration from Hugo v0.73.0, when Hugo renamed the two sorting functions: taxonomy => term and taxonomyTerm => taxonomy

Since the theme only takes the term sorting function, the first line is explicitly specified to avoid confusion, and the second line is to disable the migration hint from the Hugo CLI.

Hugo v0.73.0 release note

FelixBenning commented 3 years ago

grafik

should this then be labled term if you are not using taxonomy? Or do I understand this wrong?