Skip to content

Commit

Permalink
Fix broken read_time in blog/index.html (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhxchd authored Nov 21, 2021
1 parent 5612275 commit b45b247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h2>{{ site.blog_description }}</h2>
<ul class="post-list">
{% for post in paginator.posts %}

{% assign read_time = page.content | number_of_words | divided_by: 180 | plus: 1 %}
{% assign read_time = post.content | number_of_words | divided_by: 180 | plus: 1 %}
{% assign year = post.date | date: "%Y" %}
{% assign tags = post.tags | join: "" %}
{% assign categories = post.categories | join: "" %}
Expand Down

0 comments on commit b45b247

Please sign in to comment.