Using post.excerpt in index.html (closes #117)
This commit is contained in:
parent
d824fd879e
commit
ac1cf36fe0
|
@ -9,7 +9,7 @@ layout: default
|
||||||
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
|
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
|
||||||
|
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
{{ post.content | truncatewords:40}}
|
{{ post.excerpt }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
|
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
|
||||||
|
|
Loading…
Reference in a new issue