从 SSR 注入逻辑中移除 partner 数据
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- 删除 header.html 中对 partner 字段的 SSR 注入代码 - 确保 window.__themeCommon 不再包含 partner 数据 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -24,9 +24,6 @@
|
|||||||
if (isset($themeCfg['honor'])) {
|
if (isset($themeCfg['honor'])) {
|
||||||
$data['honor'] = $themeCfg['honor'];
|
$data['honor'] = $themeCfg['honor'];
|
||||||
}
|
}
|
||||||
if (isset($themeCfg['partner'])) {
|
|
||||||
$data['partner'] = $themeCfg['partner'];
|
|
||||||
}
|
|
||||||
if (isset($themeCfg['friendly_link'])) {
|
if (isset($themeCfg['friendly_link'])) {
|
||||||
$data['friendly_link'] = $themeCfg['friendly_link'];
|
$data['friendly_link'] = $themeCfg['friendly_link'];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user