Skip to content

Commit

Permalink
Merge pull request barryclark#2 from qiulin/master
Browse files Browse the repository at this point in the history
fix bug of read more content showing the current content
  • Loading branch information
mmistakes committed Sep 17, 2013
2 parents e10faad + 23ac394 commit 5b6bb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h2>{{ page.date | date: "%B %d, %Y" }}</h2>
</div><!-- /.read-more-header -->
<div class="read-more-content">
<h3><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h3>
<p>{% if post.description %}{{ post.description }}{% else %}{{ content | strip_html | strip_newlines | truncate: 140 }}&hellip;{% endif %} <a href="{{ site.url }}{{ post.url }}">Continue reading</a></p>
<p>{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 140 }}&hellip;{% endif %} <a href="{{ site.url }}{{ post.url }}">Continue reading</a></p>
</div><!-- /.read-more-content -->
{% endfor %}
<div class="read-more-list">
Expand Down

0 comments on commit 5b6bb36

Please sign in to comment.