# 데이터 템플릿으로 사용자 카드/프로필을 수정하는 테마를 여러 개 설치하면 둘 다 깨집니다

**URL:** <https://meta.discourse.org/t/installing-multiple-copies-of-a-theme-that-uses-a-data-template-to-modify-user-cards-profiles-breaks-both/278098>\
**Category:** Development\
**Created:** [9월 7, 2023, 12:03오전 UTC](https://meta.discourse.org/t/installing-multiple-copies-of-a-theme-that-uses-a-data-template-to-modify-user-cards-profiles-breaks-both/278098 "2023-09-07T00:03:05Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)\
**Post date:** [9월 9, 2023, 2:08오전 UTC](https://meta.discourse.org/t/installing-multiple-copies-of-a-theme-that-uses-a-data-template-to-modify-user-cards-profiles-breaks-both/278098/18 "2023-09-09T02:08:51Z")

</div>

약 1시간 동안 이 문제로 씨름해 보았지만, 결국 답을 찾지 못했습니다. 다음 코드입니다:

```plaintext
          {{#each this.customProfileLink as |links|}}
              <a href="{{link.[2]}}{{link.[0]}}" target="_blank">{{link.[1]}}</a>
              <p>{{link}}--{{link.content}}</p>
          {{/each}}

```

_직감상_은 동작할 것 같지만, `#each`에 대해 찾아본 자료들은 제각각이었고, 결국 이 코드는 작동하지 않았습니다. 혹시 이 부분에 대해 통찰을 주실 수 있는 분이 있을까요?

그리고 그건 제가 이중으로 실수한 것이었습니다. :facepalm: 항목에는 `links`를, 프로세서에는 `link`를 사용했거든요. 그리고 사용자 프로필은 확인하지 않고 사용자 카드만 확인했습니다(사용자 프로필은 왜인지 정상이었습니다)

---

_[View the full topic](https://meta.discourse.org/t/installing-multiple-copies-of-a-theme-that-uses-a-data-template-to-modify-user-cards-profiles-breaks-both/278098)._
