Weight, grayscale, ordering, and why the cloud is not random by accident
The /tags/ page in the reader theme started as a perfectly ordinary taxonomy page. That was correct in the narrow Hugo sense and wrong in the editorial sense. A plain list tells you that tags exist. It does not tell you which ones dominate the corpus, which ones are one-off curiosities, or which ones form the real conceptual backbone of the site.
The goal of the tag cloud was not to make the page decorative. The goal was to make it legible as a structural overview. A useful cloud must answer three questions quickly:
That third question matters more than people admit. Tag clouds are easy to make ugly. If you give them color for novelty, weight for count, random order for “organic feel”, and large size swings for drama, they stop being navigation and turn into a poster. This theme wanted the opposite: quiet, readable, monochrome, but still meaningfully weighted.
So the implementation followed a few deliberate rules.
Start from count, but do not trust count alone
The source set is Hugo’s normal tag taxonomy ordered by count. That part is conventional and direct:
|
|
... continue