summaryrefslogtreecommitdiff
path: root/includes/post-item.php
diff options
context:
space:
mode:
author阔落 <45323514+BigCoke233@users.noreply.github.com>2019-03-31 13:47:33 +0800
committerGitHub <noreply@github.com>2019-03-31 13:47:33 +0800
commit0b71b73f502022b6be3c7cf0116c5827dec85da9 (patch)
tree90e354c55c3959339af8c9afae1d31e4e8524afc /includes/post-item.php
parent855c860ad57cd7f05749af4a7d32e16969a2a87e (diff)
Bug fix
Diffstat (limited to 'includes/post-item.php')
-rw-r--r--includes/post-item.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/includes/post-item.php b/includes/post-item.php
index f43e58c..7a4f02c 100644
--- a/includes/post-item.php
+++ b/includes/post-item.php
@@ -31,10 +31,11 @@
<div class="cold-md-9 col-xs-9" style="margin-top:-20px;">
<h3><?php $this->sticky(); $this->title() ?></h3>
<p class="excerpt">
- <?php $this->excerpt(66); ?>
+ <?php $this->excerpt(50); ?>
+ <br />
</p>
- <hr />
- <div class="post-info"><span class="glyphicon glyphicon-th-large"></span> <?php $this->category(',', true, '木有分类'); ?> &nbsp;| &nbsp;<span class="glyphicon glyphicon-calendar"></span> <?php $this->date('F j, Y'); ?> &nbsp;| &nbsp;<Span class="glyphicon glyphicon-comment"></span> <?php $this->commentsNum('%d Comments'); ?></div>
+ <hr class="mobile-none" />
+ <div class="post-info"><span class="glyphicon glyphicon-th-large"></span> <?php $this->category(',', true, '木有分类'); ?> &nbsp;| &nbsp;<span class="glyphicon glyphicon-calendar"></span> <?php $this->date('F j, Y'); ?><span class="mobile-none"> &nbsp;| &nbsp;<Span class="glyphicon glyphicon-comment"></span> <?php $this->commentsNum('%d Comments'); ?></span></div>
</div>
</div>
@@ -56,11 +57,12 @@
<h2 class="index-post-header"><?php $this->sticky(); $this->title() ?></h4>
<p class="excerpt">
- <?php $this->excerpt(100); ?>
+ <?php echo $this->excerpt(100); ?>
</p>
<hr />
-
+
+
<div class="post-info"><span class="glyphicon glyphicon-th-large"></span> <?php $this->category(',', true, '木有分类'); ?> &nbsp;| &nbsp;<span class="glyphicon glyphicon-calendar"></span> <?php $this->date('F j, Y'); ?> &nbsp;| &nbsp;<Span class="glyphicon glyphicon-comment"></span> <?php $this->commentsNum('%d Comments'); ?></div>
<br />
</div>