Commit graph

10 commits

Author SHA1 Message Date
jeffreytse 17de6a6bfd chore: change the default article excerpt size 2021-01-23 17:12:40 +08:00
jeffreytse d2f3025958 fix: invalid integer in get_article_excerpt function 2021-01-11 18:48:37 +08:00
jeffreytse fac480f381 chore: reivise get_reading_time function 2021-01-11 18:34:51 +08:00
jeffreytse a037056663 feat: add some article-related functions
These functions include get_article_excerpt and get_article_words.
2021-01-11 18:33:52 +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 fcdfc7ea09 feat: support dict object for get_value function 2021-01-08 11:51:40 +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
Jeffrey Tse 9241888333 chore: adjust something about translate langs, etc 2019-09-13 15:52:19 +08:00
Jeffrey Tse 61eae5c5f9 release: v1.0.0 2019-09-11 12:21:17 +08:00