Skip to content

Commit

Permalink
Update read-time.html
Browse files Browse the repository at this point in the history
  • Loading branch information
s975188062 committed Mar 30, 2020
1 parent c419609 commit aa33f90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _includes/read-time.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!--
{% assign words_per_minute = page.words_per_minute | default: site.words_per_minute | default: 200 %}
{% if post.read_time %}
Expand All @@ -13,3 +14,6 @@
{% else %}
{{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %}
-->

{{ page.content | strip_html | strip_newlines | remove: " " | size | divided_by: 350 | plus: 1 }}

0 comments on commit aa33f90

Please sign in to comment.