summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorEltrac <45323514+BigCoke233@users.noreply.github.com>2019-07-14 15:15:28 +0800
committerGitHub <noreply@github.com>2019-07-14 15:15:28 +0800
commit04457c3f793c46c1bd34f8c1c8b1715ccba5f207 (patch)
tree1a26ef730200eca79a1839c793d2b7152e97c2ef /index.php
parent9f76c533f9688c8fb76daf366c651e813093aade (diff)
图片懒加载、修复灯箱 BUG、优化某些样式在夜间模式下的显示
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 df98bc2..4526070 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 if($this->fields->banner && $this->fields->banner=!''): ?><?php echo $this->fields->banner(); ?><?php else: ?><?php Utils::indexTheme('images/postbg/'); ?><?php echo rand(1,rand(1,rand(1,10))); ?>.jpg<?php endif; ?>">
+ <img src="/usr/themes/Miracles/images/loading.gif" data-original="<?php if($this->fields->banner && $this->fields->banner=!''): ?><?php echo $this->fields->banner(); ?><?php else: ?><?php Utils::indexTheme('images/postbg/'); ?><?php echo rand(1,rand(1,rand(1,10))); ?>.jpg<?php endif; ?>">
</div>
</a>
</div>