summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-07-17 00:15:54 +0800
committerBigCoke233 <hi@guhub.cn>2020-07-17 00:15:54 +0800
commit2c028cef411a2eae19c82b7b89fedb9b8b191b4f (patch)
tree24bac20b76b100acff8db76dd1680a6d196dcd03 /index.php
parentd6fc2cb3f1943a2c118fce837571c1cab9eee952 (diff)
🖼️ Perf: 支持用 cdn 加速懒加载图片了
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 b432a4e..f811747 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 Utils::indexTheme('images/loading/'.$this->options->loading_image.'.gif') ?>" data-gisrc="<?php Utils::postBanner($this); ?>">
+ <img src="<?php echo Utils::addLoadingImages($this->options->CDN, $this->options->loading_image, 'normal'); ?>" data-gisrc="<?php Utils::postBanner($this); ?>">
</div>
</a>
</div>