fix(tagcloud): independent tags page and card_tags, drop colormode, use inline css, keep tag-color classes

This commit is contained in:
Void4m0n
2026-01-12 13:18:09 +01:00
Unverified
parent 5878e3b7ee
commit bdc97cc22b
5 changed files with 8 additions and 22 deletions

View File

@@ -1,3 +1,2 @@
- let { colormode, custom_colors } = theme.aside.card_tags
.tag-cloud-list.text-center
!=cloudTags({source: site.tags, orderby: page.orderby || 'random', order: page.order || 1, minfontsize: 1.2, maxfontsize: 1.5, limit: 0, unit: 'em', colormode: colormode, custom_colors: custom_colors})
!=cloudTags({source: site.tags, orderby: page.orderby || 'random', order: page.order || 1, minfontsize: 1.2, maxfontsize: 1.5, limit: 0, unit: 'em', custom_colors: page.custom_colors})