21 lines
864 B
Plaintext
21 lines
864 B
Plaintext
{@ include(common/header) @}
|
|
{@ include(common/search) @}
|
|
<div class="news-article">
|
|
{@ if (isset($meta->thumbnail) && $meta->thumbnail != '') @}
|
|
<div class="thumbnail{{ isset($meta->thumborient) && $meta->thumborient != 'center' ? ' '.$meta->thumborient : '' }}">
|
|
<img src="/static/article/{{ $meta->thumbnail }}" alt="" />
|
|
</div>
|
|
{@ endif @}
|
|
<div class="meta">
|
|
<div class="meta-date">{{ $meta->date }}</div>
|
|
<div class="meta-author">{{ $meta->author }}</div>
|
|
{@ if (isset($meta->category) && !empty($meta->category) && $meta->category[0] !== '') @}
|
|
{@ foreach ($meta->category as $cat) @}
|
|
<div class="meta-category">{{ $cat }}</div>
|
|
{@ endforeach @}
|
|
{@ endif @}
|
|
</div>
|
|
<h1 class="title">{{{ $meta->title }}}</h1>
|
|
{{{ $article."\n" }}}
|
|
</div>
|
|
{@ include(common/footer) @} |