diff --git a/config.php b/config.php index 6c42e10..73a5e7f 100644 --- a/config.php +++ b/config.php @@ -32,6 +32,16 @@ define('ICON_STORE', 128); // 图标统一存成 128×128 */ define('SORT_STEP', 1000); +/** + * 页脚的项目链接。集中定义在这里,而不是散落在模板里 —— + * 换仓库地址或换反馈系统时只改这一处。 + * + * REPO_URL :开源仓库(Gitea) + * FEEDBACK_URL:反馈收集,sw= 参数用于区分是哪个软件来的(FeedLite 的约定) + */ +define('REPO_URL', 'https://code.yangyq.net/laoyang/SimpleNav'); +define('FEEDBACK_URL', 'https://feedlite.yangyq.net/index.php?sw=simplenav'); + /** * 「站点整体图标」(浏览器标签页 favicon + 首页品牌图标)—— 用户上传后自动生成的一整套尺寸。 * diff --git a/index.php b/index.php index de150ac..c8272e0 100644 --- a/index.php +++ b/index.php @@ -210,6 +210,10 @@ function site_tile(array $s): void