/
post.php
65 lines (59 loc) · 3.45 KB
/
post.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<!-- content srart -->
<div class="am-g am-g-fixed blog-fixed blog-content">
<div class="am-u-md-8 am-u-sm-12">
<article class="am-article blog-article-p">
<div class="am-article-hd">
<h1 class="am-article-title blog-text-center"><?php $this->title() ?></h1>
<p class="am-article-meta blog-text-center">
<span><?php $this->category(','); ?> </span>-
<span><a href="<?php $this->author->permalink(); ?>">@<?php $this->author(); ?> </a></span>-
<span><?php $this->date('F j, Y'); ?></span>
</p>
</div>
<div class="am-article-bd">
<?php $this->content(); ?>
</div>
</article>
<div class="am-g blog-article-widget blog-article-margin">
<div class="am-u-lg-6 am-u-md-7 am-u-sm-9 am-u-sm-centered blog-text-center">
<span class="am-icon-tags"> </span><?php _e('标签:'); ?> <?php $this->tags(', ', true, 'none'); ?>
<hr>
<?php if ($this->options->socialQQ): ?>
<a href="tencent://message/?uin=<?php $this->options->socialQQ(); ?>&Site=junichi&Menu=yes"><span class="am-icon-qq am-icon-fw am-primary blog-icon"></span></a>
<?php endif; ?>
<?php if ($this->options->socialGithub): ?>
<a href="<?php $this->options->socialGithub(); ?>"><span class="am-icon-github am-icon-fw blog-icon"></span></a>
<?php endif; ?>
<?php if ($this->options->socialWeibo): ?>
<a href="<?php $this->options->socialWeibo(); ?>"><span class="am-icon-weibo am-icon-fw blog-icon"></span></a>
<?php endif; ?>
<?php if ($this->options->socialTwitter): ?>
<a href="<?php $this->options->socialTwitter(); ?>"><span class="am-icon-twitter am-icon-fw blog-icon"></span></a>
<?php endif; ?>
<a href="<?php $this->options->feedUrl(); ?>"><span class="am-icon-rss am-icon-fw blog-icon"></span></a>
</div>
</div>
<hr>
<div class="am-g blog-author blog-article-margin">
<div class="am-u-sm-3 am-u-md-3 am-u-lg-2">
<img src="<?php $this->options->avatarUrl ? $this->options->avatarUrl : $this->options->themeUrl('images/avatar.jpg'); ?>" alt="" class="blog-author-img am-circle">
</div>
<div class="am-u-sm-9 am-u-md-9 am-u-lg-10">
<h3><span><?php _e('作者'); ?> : </span><span class="blog-color"><?php $this->author(); ?></span></h3>
<p><?php $this->options->authorInfo(); ?></p>
</div>
</div>
<hr>
<ul class="am-pagination blog-article-margin">
<li class="am-pagination-prev"><?php $this->thePrev('%s',''); ?></li>
<li class="am-pagination-next"><?php $this->theNext('%s',''); ?></li>
</ul>
<?php $this->need('comments.php'); ?>
<hr>
</div>
<?php $this->need('sidebar.php'); ?>
</div>
<!-- content end -->
<?php $this->need('footer.php'); ?>