diff --git a/frontend/views/blog/_article.php b/frontend/views/blog/_article.php index d38f341..516d464 100755 --- a/frontend/views/blog/_article.php +++ b/frontend/views/blog/_article.php @@ -1,91 +1,81 @@ - - - - - - tags)){?> -
- tags as $tag){?> - title?> - -
- - -
- -

Cath's Cafe

-
Last Updated: 22 Feb 15 -
- - - - - - - - - - image) ? $model->image->getPath() : null) - ->cropResize($imageWidth, $imageHeight) - ->quality(84) - ->renderImage(['alt'=>$model->language->attributes['title'],'title'=>$model->language->attributes['title']])?> - +use artbox\core\helpers\ImageHelper; +use artbox\core\helpers\Url; +/** + * @var \common\models\blog\Article $model + */ +# значения вынесены, потому что эти данные нужны не только в самой картинке, а и для микроразметки +$imageWidth = 360; +$imageHeight = 240; +?> + - -

body_preview; ?>

-
- - - -
-
\ No newline at end of file -- libgit2 0.21.4