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唯一 apiVersion: theme.halo.run/v1alpha1
id: dream kind: Theme
# 主题名称 metadata:
name: Dream # 主题id唯一
author: name: theme-dream
spec:
# 主题名称
displayName: Dream
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
version: 2.2.0 configMapName: theme-dream-configMap
# 最低支持的 Halo 版本 # 版本号
require: 1.3.0 version: 0.0.1
# 文章页 meta 变量 # 最低支持的 Halo 版本
postMetaField: require: ">=2.0.0"
- enable_copyright # customTemplates:
- thumbnail_mode # # 文章页 meta 变量
- tips # post:
- enable_katex # - enable_copyright
- enable_share # - thumbnail_mode
- enable_bullet_screen # - tips
- index_carousel # - enable_katex
# 自定义页 meta 变量 # - enable_share
sheetMetaField: # - enable_bullet_screen
- enable_copyright # - index_carousel
- tips # # 自定义页 meta 变量
- enable_katex # page:
- enable_share # - enable_copyright
- enable_bullet_screen # - tips
# - enable_katex
# - enable_share
# - enable_bullet_screen