Skip to content

Commit

Permalink
feat: add readmore, fix kitian616#3
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Oct 28, 2017
1 parent 62f1855 commit ea61640
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Enhancements

- MathJax Support (todo: doc)

## [1.2.1](https://github.com/kitian616/jekyll-TeXt-theme/releases/tag/v1.2.1)

### Enhancements
Expand Down
1 change: 1 addition & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ <h1>
<div class="m-article-content">
{{ post.excerpt | truncatewords: 200 }}
</div>
<a href="{{ post.url | prepend: site.baseurl | replace: '//', '/' }}">Click to read more ...</a>
{% include blog/article-data.html %}
</article>
{% endfor %}
Expand Down
3 changes: 3 additions & 0 deletions _sass/blog/_page.index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
);
}
}
& > a {
font-size: $small-font-size;
}
margin: $content-gap * 3 0;
}
.m-article-content {
Expand Down

0 comments on commit ea61640

Please sign in to comment.