diff --git a/settings.yaml b/settings.yaml index 01ead42..83037fe 100644 --- a/settings.yaml +++ b/settings.yaml @@ -78,6 +78,16 @@ spec: value: false - label: 隐藏 value: true + - $formkit: radio + name: social_media + label: 社交媒体 + value: true + help: 是否在HTML下添加社交媒体的META参数,隐藏时可由相关插件添加。 + options: + - label: 显示 + value: true + - label: 隐藏 + value: false - group: basic_style label: '基础样式' formSchema: diff --git a/templates/common/head.html b/templates/common/head.html index 7499fd1..64d02f7 100644 --- a/templates/common/head.html +++ b/templates/common/head.html @@ -9,18 +9,21 @@ th:with="description=${isPost ? post != null ? post.status.excerpt : singlePage - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/theme.yaml b/theme.yaml index 1367421..5e0657f 100644 --- a/theme.yaml +++ b/theme.yaml @@ -22,6 +22,6 @@ spec: settingName: theme-dream-setting configMapName: theme-dream-configMap # 版本号 - version: 1.0.3 + version: 1.0.3.11 # 最低支持的 Halo 版本 require: ">=2.6.0" \ No newline at end of file