Merge branch 'master' of github.com:nineya/halo-theme-dream2.0

This commit is contained in:
nineya 2023-07-18 09:14:52 +08:00
commit 427448fea7
5 changed files with 39 additions and 4 deletions

View File

@ -0,0 +1,35 @@
name: 定制化配置
description: 提交定制化配置疑问
title: 'custom:'
labels: [custom]
body:
- type: markdown
id: preface
attributes:
value: "你好!感谢你为 Dream 提交定制化配置建议。在开始之前,我们非常推荐阅读一遍[《开源最佳实践》](https://github.com/LinuxSuRen/open-source-best-practice),这会在很大程度上提高我们彼此的效率。"
- type: markdown
id: environment
attributes:
value: "## 环境信息"
- type: input
id: dream-version
validations:
required: false
attributes:
label: "你当前使用的 Dream 版本"
description: "可以在主题 `theme.yaml` 文件中找到。"
- type: markdown
id: details
attributes:
value: "## 详细信息"
- type: textarea
id: description
attributes:
label: "描述一下此定制化内容"
validations:
required: true
- type: textarea
id: additional-information
attributes:
label: "补充信息"
description: "如果你还有其他需要提供的信息或解决思路,可以在这里填写。"

View File

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

View File

@ -412,7 +412,7 @@ const commonContext = {
let target = $(this).attr('data-target') let target = $(this).attr('data-target')
let id = $(this).attr('data-id') let id = $(this).attr('data-id')
CommentWidget.init( CommentWidget.init(
`.widget-comment[data-id=${id}][data-target=${target}]`, `.widget-comment[data-id='${id}'][data-target='${target}']`,
'/plugins/PluginCommentWidget/assets/static/style.css', '/plugins/PluginCommentWidget/assets/static/style.css',
{ {
group: 'content.halo.run', group: 'content.halo.run',

File diff suppressed because one or more lines are too long

View File

@ -22,6 +22,6 @@ spec:
settingName: theme-dream-setting settingName: theme-dream-setting
configMapName: theme-dream-configMap configMapName: theme-dream-configMap
# 版本号 # 版本号
version: 1.0.3 version: 1.0.4
# 最低支持的 Halo 版本 # 最低支持的 Halo 版本
require: ">=2.0.0" require: ">=2.0.0"