feat(theme): 主题配置调整

This commit is contained in:
nineya 2023-03-21 12:10:05 +08:00
parent 8c2eb94d13
commit d4dcadbc58
2 changed files with 1937 additions and 1922 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,37 +1,44 @@
# 主题id唯一
id: dream
# 主题名称
name: Dream
author:
# 作者名称
name: nineya
# 作者网址
website: https://www.nineya.com
# 主题描述
description: '梦之城,童话梦境'
# 主题logo地址
logo: https://q1.qlogo.cn/g?b=qq&nk=361654768&s=640
# 主题地址
website: https://blog.nineya.com
# 主题github开源地址
repo: https://github.com/nineya/halo-theme-dream
# 版本号
version: 2.2.0
# 最低支持的 Halo 版本
require: 1.3.0
# 文章页 meta 变量
postMetaField:
- enable_copyright
- thumbnail_mode
- tips
- enable_katex
- enable_share
- enable_bullet_screen
- index_carousel
# 自定义页 meta 变量
sheetMetaField:
- enable_copyright
- tips
- enable_katex
- enable_share
- enable_bullet_screen
apiVersion: theme.halo.run/v1alpha1
kind: Theme
metadata:
# 主题id唯一
name: theme-dream
spec:
# 主题名称
displayName: Dream
author:
# 作者名称
name: nineya
# 作者网址
website: https://blog.nineya.com
# 主题描述
description: '梦之城,童话梦境'
# 主题logo地址
logo: https://q1.qlogo.cn/g?b=qq&nk=361654768&s=640
# 主题地址
website: https://github.com/nineya/halo-theme-dream2.0
# 主题github开源地址
repo: https://github.com/nineya/halo-theme-dream2.0.git
settingName: theme-dream-setting
configMapName: theme-dream-configMap
# 版本号
version: 0.0.1
# 最低支持的 Halo 版本
require: ">=2.0.0"
# customTemplates:
# # 文章页 meta 变量
# post:
# - enable_copyright
# - thumbnail_mode
# - tips
# - enable_katex
# - enable_share
# - enable_bullet_screen
# - index_carousel
# # 自定义页 meta 变量
# page:
# - enable_copyright
# - tips
# - enable_katex
# - enable_share
# - enable_bullet_screen