fix(frontend): remove residual post thumbnail lazy path

This commit is contained in:
kate522 committed 2026-08-18 01:52:00 +08:00
1 parent 435ee1daa7
commit fb11a7ed0c
8 files changed
+27 -15

No files matched your search

+1 -3
View File
@@ -113,9 +113,7 @@ if (!function_exists('aksrt_renderer_thumb')) {
$has_real_img = !empty($data['has_real_img']);
$fit_class = !empty($cfg['thumb_fit']) && $cfg['thumb_fit'] === 'contain' ? 'fit-contain' : 'fit-cover';
$img_attr = !empty($cfg['thumb_lazy'])
? aksrt_get_lazy_attr('lazy_posts_thumb', $img, $fit_class)
: ' class="' . esc_attr($fit_class) . '" src="' . esc_url($img) . '"';
$img_attr = aksrt_get_lazy_attr('lazy_posts_thumb', $img, $fit_class);
$img_html = '<img' . $img_attr . ' alt="' . esc_attr($title) . '">';
$sticky_html = ($is_sticky && !empty($cfg['badge_show']))