diff options
| author | 阔落 <45323514+BigCoke233@users.noreply.github.com> | 2019-04-06 15:00:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-06 15:00:31 +0800 |
| commit | 890b239d7eb2a1aca2b3ce81d8efdd0665d30310 (patch) | |
| tree | fd72b0ca3ca07fde6d44f3fcb76e5555aa3a8b64 /post.php | |
| parent | e01e9619adee76fa254a8c23201142ae10b6221a (diff) | |
优化
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -20,7 +20,7 @@ <?php endif; ?>
<div class="post-header">
- <h2><?php $this->title() ?></h4>
+ <h2><?php $this->title() ?></h2>
<span>
<i class="glyphicon glyphicon-time"></i> <?php $this->date('Y-m-d'); ?> /
<i class="glyphicon glyphicon-bookmark"></i> <?php $this->category(',', true, '木有分类'); ?> /
@@ -31,14 +31,20 @@ <hr />
<div class="post-content">
- <?php $this->need('includes/post-content.php'); ?>
+ <?php $this->need('post/post-content.php'); ?>
</div>
+
+ <br />
<div class="post-footer">
- <hr />
- <div class="tags-list">
- <?php $this->tags('', true, '没有标签哦~'); ?>
- </div>
+ <hr class="item-hr" />
+ <Span class="social-icon-group" align="right">
+ <a class="social-share icon-google" target="_blank" href="https://plus.google.com/share?url=<?php $this->permalink() ?>" title="分享至Google Plus"><i class="fa fa-google"></i></a>
+ <a class="social-share icon-qzone" target="_blank" href="https://connect.qq.com/widget/shareqq/index.html?url=<?php $this->permalink() ?>&title=<?php $this->title() ?>&summary=<?php $this->excerpt(100); ?>&pics=<?php $this->fields->banner(); ?>" title="分享至QQ好友"><i class="fa fa-qq"></i></a>
+ <a class="social-share icon-weibo" target="_blank" href="http://service.weibo.com/share/share.php?url=<?php $this->permalink() ?>/&appkey=<?php $this->options->title(); ?>/&title=<?php $this->title() ?>&pic=<?php $this->fields->banner(); ?>" title="分享至新浪微博"><i class="fa fa-weibo"></i></a>
+ <a class="social-share icon-twitter" target="_blank" href="https://twitter.com/intent/tweet?text=<?php $this->excerpt(100); ?>&url=<?php $this->permalink() ?>&via=<?php $this->options->SiteUrl(); ?>"><i class="fa fa-twitter" title="分享至Twitter"></i></a>
+ </span>
+ <hr class="item-hr" />
</div>
</article>
|
