mirror of
https://github.com/MinimalBible/MinimalBible.github.io
synced 2024-12-21 14:18:20 -05:00
Merge pull request #2 from qiulin/master
fix bug of read more content showing the current content
This commit is contained in:
commit
5b6bb362e2
@ -57,7 +57,7 @@
|
|||||||
</div><!-- /.read-more-header -->
|
</div><!-- /.read-more-header -->
|
||||||
<div class="read-more-content">
|
<div class="read-more-content">
|
||||||
<h3><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h3>
|
<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 }}…{% 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 }}…{% endif %} <a href="{{ site.url }}{{ post.url }}">Continue reading</a></p>
|
||||||
</div><!-- /.read-more-content -->
|
</div><!-- /.read-more-content -->
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<div class="read-more-list">
|
<div class="read-more-list">
|
||||||
|
Loading…
Reference in New Issue
Block a user