# 로고를 메인 웹사이트 홈페이지로 연결하기

**URL:** https://meta.discourse.org/t/make-logo-a-link-to-main-website-homepage/268984
**Category:** Support
**Created:** [6월 20, 2023, 3:42오전 UTC](https://meta.discourse.org/t/make-logo-a-link-to-main-website-homepage/268984 "2023-06-20T03:42:58Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [6월 20, 2023, 3:52오전 UTC](https://meta.discourse.org/t/make-logo-a-link-to-main-website-homepage/268984/3 "2023-06-20T03:52:20Z")

</div>

여기입니다:

> [@메인 로고 URL을 변경할 수 있나요?](https://meta.discourse.org/t/possible-to-change-main-logo-url/206918/2):
>
> I did it like this in my community, added to a theme component: \<script type="text/discourse-plugin" version="0.8"\> api.changeWidgetSetting('home-logo', 'href', 'https://mywebsite.com'); \</script\>

새 창에서 열려면:

> [@메인 로고의 URL을 변경할 수 있나요?](https://meta.discourse.org/t/can-i-change-the-url-of-the-main-logo/186127/6?u=lillinator):
>
> This takes a little more customization because it’s prevented in the home-logo widget here: So you’d have to use changeWidgetSetting to set the URL, and then reopenWidget to add \_blank and override the default click behavior that prevents it from opening in a new window. \<script type="text/discourse-plugin" version="0.8"\> const { h } = require("virtual-dom"); api.changeWidgetSetting('home-logo', 'href', 'https://discourse.org'); api.reopenWidget("home-logo", { html() { re…

처음에는 이렇게 했었지만, 네비게이션 메뉴의 전역 사용자 정의 링크 섹션이 추가될 때까지는 헤더 아이콘을 사용하는 쪽으로 결정했습니다. 그 후에는 해당 섹션에 넣었습니다. 위 스크린샷에서 확인할 수 있습니다.

위젯은 향후 점진적으로 단계적으로 폐지되고 에임버(Ember) 컴포넌트로 대체될 예정이지만, 아직 에임버 JS를 사용하여 이를 수행하는 방법을 알지 못합니다.

---

_[View the full topic](https://meta.discourse.org/t/make-logo-a-link-to-main-website-homepage/268984)._
