Commit graph

4 commits

Author SHA1 Message Date
jeffreytse
fac480f381 chore: reivise get_reading_time function 2021-01-11 18:34:51 +08:00
jeffreytse
48d4da4f1b fix: reading time was incorrect for cjk words (#20)
The liquid filter `number_of_words` is for english words, so here
we use a calculation to estimate accurately the words, especially
when the language is not English.
2021-01-11 11:18:35 +08:00
jeffreytse
a7d8a2977d fix: some function params not working 2020-09-29 12:54:54 +08:00
jeffreytse
87cf6bca65 feat: add get reading time function 2020-07-16 19:24:05 +08:00