<div class="room_left"> <figure> <a href="#" data-toggle="modal" data-target="#profileModal1"><img src="{{profileImage}}" onError="this.src='./img/noImage.png'"></a> </figure> <div class="room_left-text"> <div class="name">{{from}}</div> <div class="text">{{text}}</div> </div> {{#isToday}} <div class="date d-flex flex-column"><span></span><span>{{createdAtTime}}</span></div> {{/isToday}} {{^isToday}} <div class="date d-flex flex-column"><span>{{createdAtDay}}</span><span>{{createdAtTime}}</span></div> {{/isToday}} <div class="read d-flex align-items-end"><span></span></div> </div>