summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2020-06-12 23:47:02 +0800
committerGitHub <noreply@github.com>2020-06-12 23:47:02 +0800
commit89bf60160cfff0c09d6f54939c68796ec8302c74 (patch)
treea58b1e0ce688f5d8d32548839bf95948ba94a72a
parentbe5237f56520999d483251e55ffb7983c04bf01f (diff)
:bug: Fix: 标签、分类页面不显示文章缩略图
-rw-r--r--archive.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/archive.php b/archive.php
index 4c0d797..0c2c159 100644
--- a/archive.php
+++ b/archive.php
@@ -14,7 +14,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="/usr/themes/Miracles/images/loading/<?php echo $this->options->loading_image ?>.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 mt_rand(1,20); ?>.jpg<?php endif; ?>">
+ <img src="/usr/themes/Miracles/images/loading/<?php echo $this->options->loading_image ?>.gif" data-gisrc="<?php if($this->fields->banner && $this->fields->banner=!''): ?><?php echo $this->fields->banner(); ?><?php else: ?><?php Utils::indexTheme('images/postbg/'); ?><?php echo mt_rand(1,20); ?>.jpg<?php endif; ?>">
</div>
</a>
</div>
@@ -44,4 +44,4 @@ $this->need('includes/header.php');
</div>
</div>
</main>
-<?php $this->need('includes/footer.php'); ?> \ No newline at end of file
+<?php $this->need('includes/footer.php'); ?>