diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-07-17 00:15:54 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-07-17 00:15:54 +0800 |
| commit | 2c028cef411a2eae19c82b7b89fedb9b8b191b4f (patch) | |
| tree | 24bac20b76b100acff8db76dd1680a6d196dcd03 /index.php | |
| parent | d6fc2cb3f1943a2c118fce837571c1cab9eee952 (diff) | |
🖼️ Perf: 支持用 cdn 加速懒加载图片了
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |
