?> </div> <div class="post-permalink"> <?php echo Html::a('阅读原文', ['post', 'id' => $post->cid], ['class' => 'btn btn-default']); ?> </div> <footer class="post-footer clearfix"> <div class="pull-left tag-list"> <i class="fa fa-tag"></i> <?php $postTags = $post->tags; foreach ($postTags as $v) { ?> <?php echo Html::a($v->name, ['site/tag', 'slug' => $v->slug]); ?> <?php } ?> </div> </footer> </article> <?php } ?> <?php echo \frontend\widgets\Pagination::widget(['pagination' => $pagination]);