# 首页切换

**URL:** https://meta.discourse.org/t/homepage-toggle/265617
**Category:** Theme component
**Tags:** desktop, broken
**Created:** [2023年五月20日 03:00 UTC](https://meta.discourse.org/t/homepage-toggle/265617 "2023-05-20T03:00:43Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2024年十月30日 15:49 UTC](https://meta.discourse.org/t/homepage-toggle/265617/13 "2024-10-30T15:49:47Z")

</div>

具体来说：使用 `decorateWidget` 修改标题已被弃用，现在已不可能。更多详情请参见：

> [@Upcoming Header Changes - Preparing Themes and Plugins](https://meta.discourse.org/t/upcoming-header-changes-preparing-themes-and-plugins/296544):
>
> We’ve recently [been working](https://github.com/discourse/discourse/commit/21f23cc032) on updating Discourse’s header from the legacy ‘widget’ rendering system to modern Glimmer components. This change is now available in Discourse core behind the glimmer header mode site setting. timer_clock Approximate Timeline (very rough estimates - subject to change in either direction) Q1 2024: white_check_mark core implementation finished & enabled on Meta white_check_mark upgrade advice published; console deprecation messages enabled …

（`decorateWidget` 本身目前仍然存在，并且仍然是自定义 Discourse UI 某些部分的受支持方式）

我现在将此主题组件标记为 #broken

---

_[View the full topic](https://meta.discourse.org/t/homepage-toggle/265617)._
