chore: update plugin.yaml fields (#29)

适配 https://github.com/halo-dev/halo/pull/4061 的改动。

更新 plugin.yaml 示例,添加 repo 字段。之后,homepage 和 repo 的区别如下:

1. homepage 可用于提供插件官网或者介绍页面,比如 Halo 应用市场的应用页面。
2. repo 仅作为源码仓库地址。

```release-note
None
```
This commit is contained in:
Ryan Wang
2024-04-16 17:46:07 +08:00
committed by GitHub
parent 9f04f1bce7
commit c891124c6f

View File

@@ -1,7 +1,9 @@
# Refer https://docs.halo.run/developer-guide/plugin/basics/manifest
apiVersion: plugin.halo.run/v1alpha1
kind: Plugin
metadata:
# The name defines how the plugin is invoked,A unique name
# The name defines how the plugin is invoked, A unique name
name: starter
spec:
enabled: true
@@ -10,9 +12,8 @@ spec:
name: Halo
website: https://github.com/halo-dev
logo: logo.png
# 'homepage' usually links to the GitHub repository of the plugin
homepage: https://github.com/halo-dev/plugin-starter
# 'displayName' explains what the plugin does in only a few words
homepage: https://github.com/halo-dev/plugin-starter#readme
repo: https://github.com/halo-dev/plugin-starter
displayName: "插件快速开始模板"
description: "这是一个插件快速开始模板"
license: