Rename undefined_words_per_minute
variable to match one set in ui-text.yml
- Remove extra white-space - Close #317
This commit is contained in:
parent
6bd7f637f3
commit
f509db2177
1 changed files with 1 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
{% if post.read_time %}
|
{% if post.read_time %}
|
||||||
{% assign words = post.content | strip_html | number_of_words %}
|
{% assign words = post.content | strip_html | number_of_words %}
|
||||||
{% elsif page.read_time %}
|
{% elsif page.read_time %}
|
||||||
|
@ -15,5 +13,5 @@
|
||||||
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minutes_read }}
|
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minutes_read }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ site.data.ui-text[site.locale].undefined_words_per_minute }}
|
{{ site.data.ui-text[site.locale].undefined_wpm }}
|
||||||
{% endif %}
|
{% endif %}
|
Loading…
Reference in a new issue