= Html::encode($post->title) ?>
= Yii::$app->formatter->asDatetime($post->published_at); ?>
image): ?>title = $post->getSeoTitle();
$this->registerMetaTag(['name' =>'description', 'content' => $post->meta->description]);
$this->registerMetaTag(['name' =>'keywords', 'content' => $post->meta->keywords]);
$this->params['breadcrumbs'][] = ['label' => $type->plural, 'url' => ['post/index', 'tid' => $type->id]];
//$this->params['breadcrumbs'][] = ['label' => $post->category->name, 'url' => ['category', 'slug' => $post->category->slug]];
$this->params['breadcrumbs'][] = ['label' => $post->category->name, 'url' => ['post/category', 'id' => $post->category->id]];
$this->params['breadcrumbs'][] = $post->title;
$this->params['active_category'] = $post->category;
$tagLinks = [];
foreach ($post->tags as $tag) {
$tagLinks[] = Html::a(Html::encode($tag->name), ['tag', 'slug' => $tag->slug]);
}
?>
= Yii::$app->formatter->asDatetime($post->published_at); ?> = Html::encode($post->title) ?>
Tags: = implode(', ', $tagLinks) ?>
= CommentsWidget::widget([ 'post' => $post, ]) ?>