summaryrefslogtreecommitdiff
path: root/single.php
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-09-22 23:36:00 +0800
committerEltrac Koalar <hi@guhub.cn>2022-09-22 23:36:00 +0800
commitc79b4faffb6103cd9b2f091278784e52592d1f95 (patch)
tree9ce6b97f9bb139b5022cad23d650e05596d2bca8 /single.php
parent748ceee991612bbf294dcfb7d0dbb7a8530e93ec (diff)
:pencil: Perf: 调整文章头图
取消溢出,支持用 fluidbox 放大查看
Diffstat (limited to 'single.php')
-rw-r--r--single.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/single.php b/single.php
index ad8279b..b56f9bb 100644
--- a/single.php
+++ b/single.php
@@ -5,7 +5,7 @@
<article class="post post-atpage" itemscope itemtype="http://schema.org/BlogPosting">
<?php if($this->fields->thumbnail!='' && $this->options->EnableExtraSimple!='able'): ?>
<div class="post-thumbnail-atpage" md-hidden>
- <img class="lazy" data-src="<?php $this->fields->thumbnail(); ?>">
+ <a class="fluidbox-anchor" href="<?php $this->fields->thumbnail(); ?>"><img class="lazy" data-src="<?php $this->fields->thumbnail(); ?>"></a>
</div>
<?php endif; ?>
<div class="post-header">