{@ // 썸네일 크기 $post_item_thumbnail_width = '240px'; $post_item_thumbnail_height = '160px'; if($mi->card_thumb_width) $post_item_thumbnail_width = $mi->card_thumb_width; if($mi->card_thumb_height) $post_item_thumbnail_height = $mi->card_thumb_height; }
  • {@ // 아이템 타입 $post_item_type = 'app-post-item--base'; if(!$document->thumbnailExists()) $post_item_type = 'app-post-item--text'; elseif(in_array('secret', $document->getExtraImages())) $post_item_type = 'app-post-item--text'; // 비밀글 상태 $post_item_secret = ''; if(in_array('secret', $document->getExtraImages())) $post_item_secret = 'app-post-item--secret'; } {@ // 썸네일 영역 }
    {@ // 바디 영역 }
    {$document->getTitle()} {$document->getCommentCount()}
    {$document->getSummary(80)}
    {@ // meta 영역 }
    {$category_list[$document->get('category_srl')]->title} {getTimeGap($document->get('regdate'), "y.m.d")} 조회 {$document->get('readed_count')}
    {@ // 카드 하단 }
    profile
    {$document->getNickName()}