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:
Michael Rose 2016-06-07 11:32:11 -04:00
parent 6bd7f637f3
commit f509db2177

View file

@ -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 %}