Merge pull request #346 from Roozenlz/main

更新友链模板的评论组件,修正部分配置项
This commit is contained in:
Roozen 2023-07-31 14:45:52 +08:00 committed by GitHub
commit 99f94bddd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 10 deletions

View File

@ -1233,7 +1233,6 @@ spec:
formSchema: formSchema:
- $formkit: attachment - $formkit: attachment
name: backgroundImg name: backgroundImg
validation: url
label: 背景图 label: 背景图
value: https://liuzhihang.com/upload/moments.png value: https://liuzhihang.com/upload/moments.png
placeholder: 请输入图片地址 placeholder: 请输入图片地址
@ -1294,8 +1293,7 @@ spec:
formSchema: formSchema:
- $formkit: attachment - $formkit: attachment
name: backgroundImg name: backgroundImg
validation: url label: 背景图
label: 图片
value: https://npm.elemecdn.com/hao-theme-static@1.2.0/templates/images/64624940e3623.jpeg value: https://npm.elemecdn.com/hao-theme-static@1.2.0/templates/images/64624940e3623.jpeg
placeholder: 请输入图片地址 placeholder: 请输入图片地址
- $formkit: text - $formkit: text
@ -1349,8 +1347,7 @@ spec:
formSchema: formSchema:
- $formkit: attachment - $formkit: attachment
name: backgroundImg name: backgroundImg
validation: url label: 背景图
label: 图片
value: https://liuzhihang.com/upload/moments.png value: https://liuzhihang.com/upload/moments.png
placeholder: 请输入图片地址 placeholder: 请输入图片地址
- $formkit: text - $formkit: text
@ -1372,8 +1369,7 @@ spec:
formSchema: formSchema:
- $formkit: attachment - $formkit: attachment
name: backgroundImg name: backgroundImg
validation: url label: 背景图
label: 图片
value: https://npm.elemecdn.com/hao-theme-static@1.2.0/templates/images/64624940e3623.jpeg value: https://npm.elemecdn.com/hao-theme-static@1.2.0/templates/images/64624940e3623.jpeg
placeholder: 请输入图片地址 placeholder: 请输入图片地址
- $formkit: text - $formkit: text
@ -1430,8 +1426,7 @@ spec:
formSchema: formSchema:
- $formkit: attachment - $formkit: attachment
name: backgroundImg name: backgroundImg
validation: url label: 背景图
label: 图片
value: https://liuzhihang.com/upload/moments.png value: https://liuzhihang.com/upload/moments.png
placeholder: 请输入图片地址 placeholder: 请输入图片地址
- $formkit: text - $formkit: text

View File

@ -20,7 +20,8 @@
<th:block <th:block
th:replace="~{modules/comment :: comment(group = 'content.halo.run', th:replace="~{modules/comment :: comment(group = 'content.halo.run',
kind = 'SinglePage', kind = 'SinglePage',
name = ${singlePage.metadata.name})}"/> name = ${singlePage.metadata.name},
allowComment = ${singlePage.spec.allowComment})}"/>
</div> </div>
</main> </main>