summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-11-09 14:41:10 +0800
committereltrac <hi@eltr.ac>2026-11-09 14:41:10 +0800
commitf54f12619adcfac448b94b754ff3dbe07a3d4116 (patch)
treeebd85099ca904d56a13b5eb1198efc84e7b51601 /index.php
parentfef1d2499365edb10fe36bd8ae8c1d7750fe9383 (diff)
assets, includes, libs...: 移除 gazeimg,用原生 loading="lazy" 替代懒加载
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 1c26fa3..1c0baa1 100644
--- a/index.php
+++ b/index.php
@@ -22,7 +22,7 @@ $this->need('includes/header.php');
<div class="col-md-6 post-banner-box">
<a href="<?php $this->permalink(); ?>" class="post-link">
<div class="post-banner">
- <img src="<?php echo Utils::addLoadingImages($this->options->CDN, $this->options->loading_image, 'normal'); ?>" data-gisrc="<?php Utils::postBanner($this); ?>">
+ <img src="<?php Utils::postBanner($this); ?>" loading="lazy">
</div>
</a>
</div>