diff options
Diffstat (limited to '_includes/functions/get_reading_time.html')
-rw-r--r-- | _includes/functions/get_reading_time.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_includes/functions/get_reading_time.html b/_includes/functions/get_reading_time.html index d28b69c..7747108 100644 --- a/_includes/functions/get_reading_time.html +++ b/_includes/functions/get_reading_time.html @@ -1,9 +1,9 @@ -{% if include.article %} - {% assign article = include.article %} +{% if include.params.article %} + {% assign article = include.params.article %} {% endif %} -{% if include.speed %} - {% assign speed = include.speed %} +{% if include.params.speed %} + {% assign speed = include.params.speed %} {% else %} {% assign speed = 160 %} {% endif %} |