chore: refine theme definition (#3)

Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
Ryan Wang 2023-09-21 09:35:38 +08:00 committed by GitHub
parent 6f741aea69
commit d5af2b2835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,37 +3,37 @@ kind: Theme
metadata: metadata:
name: moderna-template name: moderna-template
spec: spec:
displayName: Moderna template displayName: Moderna
author: author:
name: shrChang.Liu name: shrChang.Liu
website: "https://halo.run" website: "https://github.com/liuchangfitcloud"
description: Moderna html5 template for Halo description: Moderna html5 template for Halo
logo: "/themes/moderna-template/assets/img/favicon.png" logo: "/themes/moderna-template/assets/img/favicon.png"
website: "https://halo.run" website: "https://halo.run"
repo: "https://github.com/halo-sigs/theme-starter" repo: "https://github.com/liuchangfitcloud/theme-moderna"
settingName: "theme-moderna-setting" settingName: "theme-moderna-setting"
configMapName: "theme-moderna-configMap" configMapName: "theme-moderna-configMap"
version: "1.0" version: "1.0.0"
require: "*" require: ">=2.0.0"
customTemplates: customTemplates:
page: page:
- name: 关于我们 - name: 关于我们
description: 关于我们 description: 关于我们
screenshot: screenshot:
file: about.html file: about.html
- name: 服务 - name: 服务
description: 服务 description: 服务
screenshot: screenshot:
file: services.html file: services.html
- name: 团队 - name: 团队
description: 团队 description: 团队
screenshot: screenshot:
file: team.html file: team.html
- name: 联系我们 - name: 联系我们
description: 联系我们 description: 联系我们
screenshot: screenshot:
file: contact.html file: contact.html
- name: 博客 - name: 博客
description: 博客 description: 博客
screenshot: screenshot:
file: blog.html file: blog.html