# ‘Directory’를 사용자 지정 헤더 링크 라벨로 사용할 수 없음

**URL:** https://meta.discourse.org/t/directory-not-able-to-be-used-as-a-custom-header-link-label/277630
**Category:** UX
**Tags:** completed, custom-header-links
**Created:** [7월 29, 2020, 6:44오후 UTC](https://meta.discourse.org/t/directory-not-able-to-be-used-as-a-custom-header-link-label/277630 "2020-07-29T18:44:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![weallwegot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/weallwegot/32/124753_2.png) [@weallwegot](https://meta.discourse.org/u/weallwegot)
#### Post date: [7월 29, 2020, 6:44오후 UTC](https://meta.discourse.org/t/directory-not-able-to-be-used-as-a-custom-header-link-label/277630/1 "2020-07-29T18:44:45Z")

</div>

1시간도 채 안 되어 이것을 보고 있으니, 아마도 단순한 실수일 거라고 생각해요. 하지만 "Directory"라고 적힌 사용자 지정 링크를 추가할 수 없어요… 이 테마 컴포넌트를 몇 달 동안 아무 문제 없이 사용해 왔는데, 오늘 일부 문구를 업데이트하려고 하다가 이런 문제가 발생했어요. 도무지 이해가 안 되는 상황이에요.

사용자 지정 헤더 링크 설정의 중간 필드에 다음을 추가했어요:  
`Directory, Users within the community, /u?period=all, vdo, self, keep`

그리고 이런 화면을 봤어요:

 ![Screen Shot 2020-07-29 at 1.40.31 PM](https://global.discourse-cdn.com/meta/original/3X/2/4/24e09e282a8cb71cdc7f268f2e28a645cbf629b8.png)

그것을 이걸로 대체했을 때:

`Directorz, Users within the community, /u?period=all, vdo, self, keep`

정상적으로 표시됐어요:

![Screen Shot 2020-07-29 at 1.41.09 PM](https://global.discourse-cdn.com/meta/original/3X/f/8/f8cd2e67dc6ac9e03da631d9f69e89eeb0a05223.png)

"Directory"가 Discourse 어딘가에서 특수한 단어인가요?

- 다른 테마 컴포넌트가 활성화되지 않은 테마에서도 재현됨
- 플러그인이 설치되지 않은 포럼에서도 재현됨

이런 일이 발생하는 논리적인 이유를 생각해 내지 못해서, 혹시 제가 놓치고 있는 게 아닐까 싶어요. 이 이상한 동작을 재현해 보신 분이나 이 문제에 대해 아는 분이 있을까요?

**수정사항**

이제 공통 CSS에 마진을 추가하는 `directory` 클래스가 있다는 걸 알았어요. 클래스 이름 오버라이드를 방지하기 위해 테마 컴포넌트에서 할 수 있는 조치가 있을까요? 예를 들어 `directory-custom-header-link`처럼 클래스에 접미사를 추가하는 것 같은요?

 ![directory-class-overlap](https://global.discourse-cdn.com/meta/original/3X/b/3/b388579afb7cfff0a91db66273a6b6d35b0593e4.png)

**수정사항 2**  
[PR 링크](https://github.com/discourse/discourse-custom-header-links/pull/10)

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [8월 4, 2020, 2:56오후 UTC](https://meta.discourse.org/t/directory-not-able-to-be-used-as-a-custom-header-link-label/277630/2 "2020-08-04T14:56:21Z")

</div>

> [@weallwegot](#):
>
> PR 올렸습니다

PR 병합해 주셔서 감사합니다! 👍

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [9월 3, 2023, 9:23오전 UTC](https://meta.discourse.org/t/directory-not-able-to-be-used-as-a-custom-header-link-label/277630/3 "2023-09-03T09:23:51Z")

</div>


