Skip to content

Commit b45b247

Browse files
authored
Fix broken read_time in blog/index.html (alshedivat#469)
1 parent 5612275 commit b45b247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h2>{{ site.blog_description }}</h2>
2424
<ul class="post-list">
2525
{% for post in paginator.posts %}
2626

27-
{% assign read_time = page.content | number_of_words | divided_by: 180 | plus: 1 %}
27+
{% assign read_time = post.content | number_of_words | divided_by: 180 | plus: 1 %}
2828
{% assign year = post.date | date: "%Y" %}
2929
{% assign tags = post.tags | join: "" %}
3030
{% assign categories = post.categories | join: "" %}

0 commit comments

Comments
 (0)