Skip to content

Commit

Permalink
🔨 fix: 去除首页按钮
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanDecode committed Feb 10, 2019
1 parent 39d8105 commit 40ef7ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions assets/parts/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ main{
flex: 0.45;
padding: 1rem;
height: 100%;
overflow: hidden;
h1{
font-weight: 600;
font-size: 1.7rem;
Expand All @@ -135,6 +136,8 @@ main{
line-height: 1.5;
word-break: break-all;
color: #666;
max-height: 7.5rem;
overflow: hidden;
}
.post-meta{
margin-top: 0;
Expand Down
3 changes: 1 addition & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
<span itemprop="author"><?php $this->author(); ?></span>&nbsp;•&nbsp; <!-- author -->
<time datetime="<?php echo date('c', $this->created); ?>" itemprop="datePublished"><?php echo date('Y-m-d', $this->created); ?></time> <!-- date -->
</p>
<p itemprop="headline"><?php $this->excerpt(90); ?></p>
<button aria-label="阅读全文" class="btn btn-normal">READ MORE </button>
<p itemprop="headline"><?php $this->excerpt(150); ?></p>
</div>
<?php if(!Utils::isWeixin()): ?>
<?php $lazyID = rand(1,10000); ?>
Expand Down

0 comments on commit 40ef7ab

Please sign in to comment.