diff options
Diffstat (limited to 'includes/post-item.php')
| -rw-r--r-- | includes/post-item.php | 12 |
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, '木有分类'); ?> | <span class="glyphicon glyphicon-calendar"></span> <?php $this->date('F j, Y'); ?> | <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, '木有分类'); ?> | <span class="glyphicon glyphicon-calendar"></span> <?php $this->date('F j, Y'); ?><span class="mobile-none"> | <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, '木有分类'); ?> | <span class="glyphicon glyphicon-calendar"></span> <?php $this->date('F j, Y'); ?> | <Span class="glyphicon glyphicon-comment"></span> <?php $this->commentsNum('%d Comments'); ?></div>
<br />
</div>
|
