# 为群组定制的主页

**URL:** <https://meta.discourse.org/t/custom-homepage-for-groups/199623>\
**Category:** Theme component\
**Created:** [2021年八月7日 20:12 UTC](https://meta.discourse.org/t/custom-homepage-for-groups/199623 "2021-08-07T20:12:05Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [2023年五月14日 14:37 UTC](https://meta.discourse.org/t/custom-homepage-for-groups/199623/25 "2023-05-14T14:37:05Z")

</div>

> [@lisandro\_iaffar](#):
>
> 我想点击论坛 logo 返回传统的首页

你好，你可以像这样实现 🔽

> [@(Superseded) Link to external site from the main Discourse logo](https://meta.discourse.org/t/link-to-external-site-from-the-main-discourse-logo/229347?u=dodesz):
>
> information_source Discourse now offers an #official theme component to support this use case: play_button Original Content

它会将 logo 的 url 覆盖为 `/latest`。

```js
<script type="text/discourse-plugin" version="1.3.0">
  api.changeWidgetSetting('home-logo', 'href', '/latest')
</script>

```

---

_[View the full topic](https://meta.discourse.org/t/custom-homepage-for-groups/199623)._
