Skip to content

Commit bccd12e

Browse files
committed
show full content on blog index
1 parent fa29dae commit bccd12e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<article>
44
<div class="post-header">
55
<h2>{{ page.title }}</h2>
6-
<span>by <a href="http://github.com/{{page.author}}">{{page.author}}</a>, on {{ page.date | date_to_string }}</span>
6+
<span>by <a href="http://github.com/{{page.author}}">{{ page.author }}</a>, on {{ page.date | date_to_string }}</span>
77
</div>
88

99
<div class="post-content">

blog/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<article>
88
<div class="post-header">
99
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
10-
<span>by <a href="http://github.com/{{post.author}}">{{post.author}}</a>, on {{ post.date | date_to_string }}</span>
10+
<span>by <a href="http://github.com/{{post.author}}">{{ post.author }}</a>, on {{ post.date | date_to_string }}</span>
1111
</div>
1212

13-
<p class="post-excerpt">{{ post.content | strip_html | truncatewords: 55 }}</p>
14-
15-
<p><a href="{{ post.url }}">Read more...</a></p>
13+
<div class="post-content">
14+
{{ post.content }}
15+
</div>
1616
</article>
1717
{% endfor %}

0 commit comments

Comments
 (0)