1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-10 11:59:28 +08:00

update: 优化友链提交配置

This commit is contained in:
小莫唐尼
2024-06-02 19:38:27 +08:00
parent 19c4e12a5b
commit 620354b77a
6 changed files with 718 additions and 653 deletions
+24
View File
@@ -0,0 +1,24 @@
/** 插件相关配置 */
const PluginsConfig = Object.freeze({
// 友链提交配置
autoSubmitLink: {
// 可以考虑配置一个插件id,检测是否开启了友链提交插件
pluginId:"",
// 是否开启(可能不启用插件)
enabled: false,
// 我的友链信息
blogDetail: {
// 博客名称
name: "uni-halo 博客",
// 博客地址
url: "https://uni-halo.925i.cn/",
// 博客logo
logo: "https://uni-halo.925i.cn/logo.png",
// 博客简介
description: "一个基于Halo2.0 API 的博客小程序开源项目。",
}
}
})
export default PluginsConfig;
+24
View File
@@ -0,0 +1,24 @@
/** 插件相关配置 */
const PluginsConfig = Object.freeze({
// 友链提交配置
autoSubmitLink: {
// 可以考虑配置一个插件id,检测是否开启了友链提交插件(暂未使用)
pluginId: "",
// 是否开启(可能后台没有安装或未不启用插件)
enabled: true,
// 我的友链信息
blogDetail: {
// 博客名称
name: "",
// 博客地址
url: "",
// 博客logo
logo: "",
// 博客简介
description: "",
}
}
})
export default PluginsConfig;