new style picture

This commit is contained in:
argoexpert press
2025-05-05 22:55:06 +03:00
parent b999114b8e
commit 9ff9de46a4
4 changed files with 14 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ $class = $full_width ? 'article-item article-item--lg' : 'article-item';
?>
<div class="<?= $class; ?>">
<a href="<?php the_permalink(); ?>" class="article-item__image-container">
<?=render_webp_picture_by_post(); ?>
<?=render_webp_picture_by_post( null, 'news-list-picture'); ?>
</a>
<div class="article-item__text">
<div class="article-time">