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