feat(theme): 主题配置调整
This commit is contained in:
		
							parent
							
								
									8c2eb94d13
								
							
						
					
					
						commit
						d4dcadbc58
					
				
							
								
								
									
										3768
									
								
								settings.yaml
									
									
									
									
									
								
							
							
						
						
									
										3768
									
								
								settings.yaml
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										53
									
								
								theme.yaml
									
									
									
									
									
								
							
							
						
						
									
										53
									
								
								theme.yaml
									
									
									
									
									
								
							| @ -1,37 +1,44 @@ | ||||
| apiVersion: theme.halo.run/v1alpha1 | ||||
| kind: Theme | ||||
| metadata: | ||||
|   # 主题id,唯一 | ||||
| id: dream | ||||
|   name: theme-dream | ||||
| spec: | ||||
|   # 主题名称 | ||||
| name: Dream | ||||
|   displayName: Dream | ||||
|   author: | ||||
|     # 作者名称 | ||||
|     name: nineya | ||||
|     # 作者网址 | ||||
|   website: https://www.nineya.com | ||||
|     website: https://blog.nineya.com | ||||
|   # 主题描述 | ||||
|   description: '梦之城,童话梦境' | ||||
|   # 主题logo地址 | ||||
|   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开源地址 | ||||
| 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 版本 | ||||
| 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 | ||||
|   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 | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user