| 1 | {@ include(common/header) @} |
| 2 | {@ include(common/search) @} |
| 3 | <div class="news-article"> |
| 4 | {@ if (isset($meta->thumbnail) && $meta->thumbnail != '') @} |
| 5 | <div class="thumbnail{{ isset($meta->thumborient) && $meta->thumborient != 'center' ? ' '.$meta->thumborient : '' }}"> |
| 6 | <img src="{{ ass_url('article/'.$meta->thumbnail) }}" alt="" /> |
| 7 | </div> |
| 8 | {@ endif @} |
| 9 | <div class="meta"> |
| 10 | <div class="meta-date">{{ $meta->date }}</div> |
| 11 | <div class="meta-author">{{ $meta->author }}</div> |
| 12 | {@ if (isset($meta->category) && !empty($meta->category) && $meta->category[0] !== '') @} |
| 13 | {@ foreach ($meta->category as $cat) @} |
| 14 | <div class="meta-category">{{ $cat }}</div> |
| 15 | {@ endforeach @} |
| 16 | {@ endif @} |
| 17 | </div> |
| 18 | <h1 class="title">{{{ $meta->title }}}</h1> |
| 19 | {{{ $article."\n" }}} |
| 20 | </div> |
| 21 | {@ include(common/comments) @} |
| 22 | {@ include(common/footer) @} |