1.适配halo 2.21.0
2.修改版本号为1.0.5-ce 3.适配装备管理插件 4.更新README说明文档 5.移除过时的配置
This commit is contained in:
parent
70f94ede36
commit
843a20bf76
@ -43,6 +43,8 @@
|
||||
5. `1.0.0`及以上版本需要`Halo`版本>=`2.14.0`
|
||||
|
||||
`1.0.3`及以上版本需要`Halo`版本>=`2.20.0`
|
||||
|
||||
`1.0.5`及以上版本需要`Halo`版本>=`2.21.0`
|
||||
|
||||
6. **若安装主题后出现500错误,请到主题设置页面,将每个设置项都保存一下!!!**
|
||||
|
||||
@ -60,8 +62,7 @@
|
||||
- 瞬间页面 <a href="https://github.com/halo-sigs/plugin-moments" target="_blank" rel="noopener noreferrer">plugin-moments</a>
|
||||
- 追番插件 <a href="https://github.com/Roozenlz/plugin-bilibili-bangumi" target="_blank" rel="noopener noreferrer">plugin-bilibili-bangumi</a>
|
||||
- 图库插件 <a href="https://github.com/halo-sigs/plugin-photos" target="_blank" rel="noopener noreferrer">plugin-photos</a>
|
||||
- katex插件 <a href="https://github.com/chengzhongxue/plugin-katex/releases/" target="_blank" rel="noopener noreferrer">plugin-katex</a>
|
||||
- 我的装备 <a href="https://github.com/chengzhongxue/plugin-equipments" target="_blank" rel="noopener noreferrer">plugin-equipments</a>
|
||||
- 装备管理 <a href="https://github.com/chengzhongxue/plugin-equipment" target="_blank" rel="noopener noreferrer">plugin-equipments</a>
|
||||
- Markdown / HTML 内容块插件 <a href="https://www.halo.run/store/apps/app-NgHnY" target="_blank" rel="noopener noreferrer">plugin-hybrid-edit-block</a>
|
||||
- 爱发电 <a href="https://www.halo.run/store/apps/app-oXvZp" target="_blank" rel="noopener noreferrer">plugin-afdian</a>
|
||||
|
||||
|
@ -150,26 +150,3 @@ spec:
|
||||
- $formkit: "textarea"
|
||||
name: "description"
|
||||
label: "分组描述"
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1alpha1
|
||||
kind: AnnotationSetting
|
||||
metadata:
|
||||
generateName: annotation-setting-
|
||||
spec:
|
||||
targetRef:
|
||||
group: core.halo.run
|
||||
kind: Equipment
|
||||
formSchema:
|
||||
- $formkit: "text"
|
||||
name: "model"
|
||||
label: "装备型号/版本"
|
||||
- $formkit: "text"
|
||||
name: "button"
|
||||
label: "左下角按钮显示文字"
|
||||
value: "详情"
|
||||
- $formkit: "text"
|
||||
name: "link"
|
||||
label: "左下角按钮跳转链接"
|
||||
|
||||
|
@ -28,35 +28,35 @@
|
||||
<th:block th:each="group : ${groups}">
|
||||
<div class="equipment-item">
|
||||
<h2 class="equipment-item-title">[[${group.spec.displayName}]]</h2>
|
||||
<div class="equipment-item-description">[[${#annotations.get(group, 'description')}]]</div>
|
||||
<div class="equipment-item-description">[[${group.spec.description}]]</div>
|
||||
<div class="equipment-item-content" th:with="equipmentList = ${group.equipments}">
|
||||
|
||||
<div class="equipment-item-content-item" th:each="equipment : ${equipmentList}">
|
||||
<div class="equipment-item-content-item-cover">
|
||||
<img class="equipment-item-content-item-image"
|
||||
th:alt="${equipment.spec.displayName}"
|
||||
th:src="${isLazyload ? loadingImg : equipment.spec.url}"
|
||||
th:data-lazy-src="${ isLazyload ? equipment.spec.url : ''}">
|
||||
th:src="${isLazyload ? loadingImg : equipment.spec.cover}"
|
||||
th:data-lazy-src="${ isLazyload ? equipment.spec.cover : ''}">
|
||||
</div>
|
||||
<div class="equipment-item-content-item-info">
|
||||
<div class="equipment-item-content-item-name"
|
||||
th:onclick="rm.rightmenuCopyText([[${equipment.spec.displayName}]]);btf.snackbarShow('已复制装备名称');">
|
||||
[[${equipment.spec.displayName}]]
|
||||
</div>
|
||||
<div class="equipment-item-content-item-specification">[[${#annotations.get(equipment, 'model')}]]
|
||||
<div class="equipment-item-content-item-specification">[[${equipment.spec.specification}]]
|
||||
</div>
|
||||
<div class="equipment-item-content-item-description">
|
||||
[[${equipment.spec.description}]]
|
||||
</div>
|
||||
<div class="equipment-item-content-item-toolbar">
|
||||
<a class="equipment-item-content-item-link" th:href="${#annotations.get(equipment, 'link')}"
|
||||
target="_blank">[[${#annotations.get(equipment, 'button')}]]</a>
|
||||
<a class="equipment-item-content-item-link" th:href="${equipment.spec.url}" target="_blank">详情</a>
|
||||
<!-- <a class="bber-reply" -->
|
||||
<a class="bber-reply" th:if="${theme.config.comments.use != 'commentWidget'}"
|
||||
th:onclick="rightMenuCommentText([['"'+${equipment.spec.displayName}+' '+${#annotations.get(equipment, 'model')}+' '+${equipment.spec.description}+'"']]);"
|
||||
th:onclick="rightMenuCommentText([['"'+${equipment.spec.displayName}+' '+${equipment.spec.specification}+' '+${equipment.spec.description}+'"']]);"
|
||||
data-pjax-state="">
|
||||
<i class="haofont hao-icon-chat--fill" style="font-size: 22px;"></i>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -52,8 +52,8 @@ spec:
|
||||
issues: https://gitee.com/uptoz/halo-theme-hao/issues
|
||||
settingName: "theme-hao-setting"
|
||||
configMapName: "theme-hao-configMap"
|
||||
version: "1.0.4-ce"
|
||||
require: ">=2.20.0"
|
||||
version: "1.0.5-ce"
|
||||
requires: ">=2.21.0"
|
||||
license:
|
||||
- name: "CC BY-SA 4.0"
|
||||
url: "https://gitee.com/uptoz/halo-theme-hao/blob/main/LICENSE"
|
||||
|
Loading…
Reference in New Issue
Block a user