mirror of
https://github.com/halo-dev/theme-earth.git
synced 2025-10-25 04:05:51 +00:00
feat: 增加底部备案信息及对应设置 (#6)
### 背景 在大陆上线的站点都需要在底部显示备案信息,目前这个主题没有相关显示信息及对应配置。 ### 修改内容 在主题底部增加了 ICP 备案号显示,并增加了 `ICP备案号` 及 `ICP备案跳转链接` 两个配置。当不配置备案号时,底部显示内容与修改前相同。 ### 效果图 #### 主题底部  #### 主题设置  ```release-note feat: 增加底部备案信息及对应设置 ```
This commit is contained in:
@@ -67,3 +67,15 @@ spec:
|
||||
label: 小部件
|
||||
value: "profile,popular-posts,latest-comments,categories,tags"
|
||||
help: "目前提供的小部件有:profile(站点资料), popular-posts(热门文章), latest-comments(最新评论), categories(文章分类), tags(文章标签)。你可以随意组合或排序,以逗号隔开。"
|
||||
|
||||
- group: beian
|
||||
label: 备案设置
|
||||
formSchema:
|
||||
- $formkit: text
|
||||
name: icp_text
|
||||
label: ICP备案号
|
||||
- $formkit: text
|
||||
name: icp_link
|
||||
label: ICP备案跳转链接
|
||||
value: https://beian.miit.gov.cn/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user