This commit is contained in:
j m 2024-04-21 08:03:18 +08:00
parent 1fe45f7b20
commit abbbfc0f3d
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "halo-theme-dream2.0-plus", "name": "halo-theme-dream2.0-plus",
"version": "1.0.6", "version": "1.0.7",
"description": "梦之城,童话梦境,动漫类型博客主题。", "description": "梦之城,童话梦境,动漫类型博客主题。",
"main": "index.js", "main": "index.js",
"author": "nineya", "author": "nineya",

View File

@ -17,7 +17,7 @@
th:each="tag : ${tags}" th:each="tag : ${tags}"
th:href="@{${tag.status.permalink}}" th:href="@{${tag.status.permalink}}"
th:text="${tag.spec.displayName}" th:text="${tag.spec.displayName}"
th:with="size = ${#strings.length(tag.spec.displayName) + #strings.length(tag.spec.slug) + tag.postCount}" th:with="size = ${#strings.length(tag.spec.displayName) + #strings.length(tag.spec.slug) + (tag.postCount != null ? tag.postCount : 0)}"
th:style="'font-size: ' + ${size < 14 ? 14 : size > 32 ? 32 : size} + 'px;' + ${(enableTagsColor && tag.spec.color != '#ffffff')? 'color: ' + tag.spec.color +';' : ''}"></a> th:style="'font-size: ' + ${size < 14 ? 14 : size > 32 ? 32 : size} + 'px;' + ${(enableTagsColor && tag.spec.color != '#ffffff')? 'color: ' + tag.spec.color +';' : ''}"></a>
</div> </div>
</div> </div>

View File

@ -28,6 +28,6 @@ spec:
settingName: theme-dream-setting settingName: theme-dream-setting
configMapName: theme-dream-configMap configMapName: theme-dream-configMap
# 版本号 # 版本号
version: 1.0.6.10002 version: 1.0.7
# 最低支持的 Halo 版本 # 最低支持的 Halo 版本
require: ">=2.6.0" require: ">=2.6.0"