# 템플릿에서 문자열이 같은지 확인하는 if 조건은 어떻게 작성하나요?

**URL:** <https://meta.discourse.org/t/how-to-have-if-string-string-in-template/158404>\
**Category:** Development\
**Created:** [7월 21, 2020, 4:11오후 UTC](https://meta.discourse.org/t/how-to-have-if-string-string-in-template/158404 "2020-07-21T16:11:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)\
**Post date:** [7월 21, 2020, 5:01오후 UTC](https://meta.discourse.org/t/how-to-have-if-string-string-in-template/158404/3 "2020-07-21T17:01:40Z")

</div>

컴puted 프로퍼티는 흥미롭지만, 제가 지금 집중하고 있는 부분과의 연결고리가 잘 보이지 않습니다.

제 예시에서 핵심 프로퍼티는 group.name이며, 템플릿에서 해당 프로퍼티가 "AwesomeName"과 일치하는지 평가하고 싶습니다. 템플릿에서 특정 유형의 `{{if}}` 문장을 사용해야 한다는 필요성을 어떻게 우회할 수 있는지, 컴puted 프로퍼티가 이를 어떻게 해결해 줄 수 있는지 아직 파악하지 못했습니다.

---

_[View the full topic](https://meta.discourse.org/t/how-to-have-if-string-string-in-template/158404)._
