diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2020-01-22 18:25:38 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-22 18:25:38 +0800 |
| commit | 2d257089281b9a98608ca29c28456189b8250d19 (patch) | |
| tree | a4cfda3cecc399e230cfdf0d6adf9fcce618bd10 /post.php | |
| parent | d044db6ac1dadec0084a13d570703de6069c6d9a (diff) | |
👓 Perf: 细节
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -13,15 +13,13 @@ $this->need('includes/header.php'); </div></div> </div> <?php endif; ?> - <?php if($this->options->ifShowRTA==1): ?> - <div class="tip blue" id="reading-time-alert"> + <div class="tip blue" id="reading-time-alert"<?php if($this->options->ifShowRTA==0): ?> style="display:none!important"<?php endif;?>> <div class="container-fluid"> <div class="row"> <div class="col-1 tip-icon"><i class="iconfont icon-info"></i></div> <div class="col-11 tip-content" id="readTip"></div> </div></div> </div> - <?php endif;?> <?php $this->content(); ?> </div> <div class="post-footer"><!-- 文章页脚 --> @@ -29,7 +27,7 @@ $this->need('includes/header.php'); <a class="social-share qq" target="_blank" href="https://connect.qq.com/widget/shareqq/index.html?url=<?php $this->permalink() ?>&title=<?php $this->title() ?>&summary=<?php $this->excerpt(100); ?>" title="分享至 QQ 好友"><i class="iconfont icon-qq1-copy"></i></a> <a class="social-share weibo" target="_blank" href="http://service.weibo.com/share/share.php?url=<?php $this->permalink() ?>/&appkey=<?php $this->options->title(); ?>/&title=<?php $this->title() ?>" title="分享至新浪微博"><i class="iconfont icon-weibo-copy"></i></a> <a class="social-share twitter" target="_blank" href="https://twitter.com/intent/tweet?text=<?php $this->excerpt(100); ?>&url=<?php $this->permalink() ?>"><i class="iconfont icon-twitter-copy" title="分享至 Twitter"></i></a> - <a class="social-share copyright" onclick="alertSend('文章未声明即为原创,转载请注明原作者',true)"><i class="iconfont icon-info1"></i></a> + <a class="social-share copyright" onclick="alertSend('文章未声明即为原创,转载请注明原作者')"><i class="iconfont icon-info1"></i></a> </div> <span class="post-tags"><i class="iconfont icon-tags"></i> <?php $this->tags(' ', true, '这人还没有写标签哦~'); ?></span> </div> |
