diff options
| author | Eltrac Koalar <hi@guhub.cn> | 2022-09-24 00:29:12 +0800 |
|---|---|---|
| committer | Eltrac Koalar <hi@guhub.cn> | 2022-09-24 00:29:12 +0800 |
| commit | 594c94f0d2ca12c8be123eacac00b6582c030827 (patch) | |
| tree | 946f8d364b441072159dd1a23fbc2f4534f87222 /single.php | |
| parent | cf9a90f5fcd7e76b2be3abe066488cc6594f276b (diff) | |
:lollipop: Add: 懒加载图片占位符
Diffstat (limited to 'single.php')
| -rw-r--r-- | single.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ <article class="post post-atpage" itemscope itemtype="http://schema.org/BlogPosting"> <?php if($this->fields->thumbnail!=''): ?> <div class="post-thumbnail-atpage" md-hidden> - <a class="fluidbox-anchor" href="<?php $this->fields->thumbnail(); ?>"><img class="lazy" data-src="<?php $this->fields->thumbnail(); ?>"></a> + <a class="fluidbox-anchor" href="<?php $this->fields->thumbnail(); ?>"><img class="lazy" src="<?php Utils::indexTheme('assets/loading.gif'); ?>" data-src="<?php $this->fields->thumbnail(); ?>"></a> </div> <?php endif; ?> <div class="post-header"> |
