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