diff --git a/_includes/read-time.html b/_includes/read-time.html index e537693..2822d69 100644 --- a/_includes/read-time.html +++ b/_includes/read-time.html @@ -24,6 +24,7 @@ title="{{ words }} {{ site.data.locales[lang].post.words }}"> {{- read_time -}}{{" "}}{{- site.data.locales[lang].post.read_time.unit -}} {%- if include.prompt -%} - {% unless site.lang contains 'zh' %}{{" "}}{% endunless %}{{ read_prompt }} + {% assign _prompt_words = read_prompt | number_of_words: 'auto' %} + {% unless _prompt_words > 1 %}{{" "}}{% endunless %}{{ read_prompt }} {%- endif -%}